M
Modular5mo ago
Sagi

How to efficiently sum a SIMD

Is there a way to sum a SIMD vector faster then a for loop?
4 Replies
ModularBot
ModularBot5mo ago
Congrats @Sagi, you just advanced to level 1!
Sagi
Sagi5mo ago
more on the over all question, i want to fastly calculate the mean squre error on two vectors in the simd, so i have 2 simd vector, let's say A and B so i need to calculate A-B and then sum the outcome, how can i do that efficiently in the SIMD?
sora
sora5mo ago
v.reduce_add()
Sagi
Sagi5mo ago
thank you very much, I didn't notice that function
Want results from more Discord servers?
Add your server