shinmorino / sqaod

Solvers/annealers for simulated quantum annealing on CPU and CUDA(NVIDIA GPU).
https://github.com/shinmorino/sqaod/wiki
Other
83 stars 21 forks source link

AVX/SSE dot product for CPUDenseGraphAnnealer. #33

Closed shinmorino closed 6 years ago

shinmorino commented 6 years ago

SIMD implementation is added for dot product calculation in https://github.com/shinmorino/sqaod/blob/master/sqaodc/cpu/SharedFormulas.h and https://github.com/shinmorino/sqaod/blob/master/sqaodc/cpu/SharedFormulas.cpp.

By new SIMD implementation, perf improved ~ 5%. Prefetch was tried, but no significant improvement.