shinmorino / sqaod

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

CPUBipartiteGraphBFSearcher raises exception on Windows when AVX(2) enabled. #22

Closed shinmorino closed 6 years ago

shinmorino commented 6 years ago

This exception is raised in Eigen. Windows is not the primary target platform, thus, the priority is low. Since it may be an issue on memory alignment, this issue will be re-investigated after implementing #11. Workaround is to disable AVX(2) in VC setting.

shinmorino commented 6 years ago

AVX(2) was disabled in VC project at the commit, c68d04c3be21964eddff41cfeafccacea1b0f935.

shinmorino commented 6 years ago

Stride is introduced in mat_align branch. This is not reproduced in mat_align branch at the commit of 7b210a420f02a6835d7c018ef7e9d1e4889da272.

shinmorino commented 6 years ago

Reproduced, and the root cause may be in temporary matrix memory alignment in Eigen. Workaround is applied and committed at e16556a4a972d6aa92b26c9fbebe2cfd8d136095.