chundoong-lab-ta/SHPC2022/hw2/vectordot/vectordot.c

22 lines
298 B
C

#include <immintrin.h>
#include <math.h>
float vectordot_naive(float *A, float *B, int N) {
float c = 0.f;
/*
TODO: FILL IN HERE
*/
return c;
}
float vectordot_fma(float *A, float *B, int N) {
/*
TODO: FILL IN HERE
*/
float c = 0.f;
/*
TODO: FILL IN HERE
*/
return c;
}