M
Modular7mo 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
ModularBot7mo ago
Congrats @Sagi, you just advanced to level 1!
Sagi
SagiOP7mo 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
sora7mo ago
v.reduce_add()
Sagi
SagiOP7mo ago
thank you very much, I didn't notice that function
Want results from more Discord servers?
Add your server