5 ms·
Here's what I get: Input array size is 1024 Naive sqrtf() CPU cycles used: 54514, error: 0.000000 Vectorized SSE CPU cycles used: 900, er
by jemfinch 15y ago
Here's what I get:
Input array size is 1024
Naive sqrtf()
CPU cycles used: 54514, error: 0.000000
Vectorized SSE
CPU cycles used: 900, error: inf
Marvelous
CPU cycles used: 21514, error: inf
I'm not sure how to interpret the errors. I had to make a few changes myself for this to compile on my machine.