r/simd • u/AndrewOfC • 9d ago
For SIMD Reduction,
In a previous post I demonstrated a method of using SIMD for reduction with AVX, NEON, and SVE. One suggestion was to change the accumulation that was being done to a vector register, instead of a scalar. The improvement was not spectacular but definately impactful.

9
Upvotes
1
u/TQ_GPU 8d ago
Now you can try this: for 1 core, it has 2 threads right? 1 thread can work on data movement while 1 thread can work on computations. This should utilize memory bandwidth better. Because this dedicates all registers of thread for 1 job instead of distributing on 2 jobs.
0
u/[deleted] 9d ago
[deleted] — view deleted comment