diff --git a/info0939/scalprod.c b/info0939/scalprod.c index 18f0788b40fef662aed5d65c82592b16c2ee73c4..c526a10bf091a9cc83e79d21e5cee26aebf8f6da 100644 --- a/info0939/scalprod.c +++ b/info0939/scalprod.c @@ -79,8 +79,8 @@ int main(void) struct rusage rstart, rend; getrusage(RUSAGE_SELF, &rstart); - //double s = scal(a, b, VEC_SIZE); - double s = scal_avx(a, b, VEC_SIZE); + double s = scal(a, b, VEC_SIZE); + //double s = scal_avx(a, b, VEC_SIZE); //double s = cblas_ddot(VEC_SIZE, a, 1, b, 1); getrusage(RUSAGE_SELF, &rend); @@ -91,7 +91,7 @@ int main(void) double gbs = 2*VEC_SIZE*sizeof(double)/(time*1e9); printf("GFLOPS/s: %lg\n", gflops); - printf("GB/s: %lg\n", gbs); + //printf("GB/s: %lg\n", gbs); return 0; }