M
Modular11mo 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
ModularBot11mo ago
Congrats @Sagi, you just advanced to level 1!
Sagi
SagiOP11mo 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
sora11mo ago
v.reduce_add()
Sagi
SagiOP11mo ago
thank you very much, I didn't notice that function

Did you find this page helpful?