Intermittent incorrect results with sparse BLAS spmv function #630
-
Hello All, I am trying to run a simple SPMV program and compare the results with the CPU version. I am getting incorrect results intermittently and am not sure why. My example is very similar to the provided example and I even wait after every operation instead of using events for extra caution. I have attached the code and the compile command with this post and would appreciate any inputs on this matter. RESULT ON PVC:
RESULTS ON NVIDIA A2000:
RESULTS ON AMD RX7900 GRE:
oneAPI version: 2025.0.4 CODE : spmv.txt COMPILE COMMAND:
NOTE:
Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry all, I found the error. It was with my matrix generation function. Here is the updated version of the test if anyone is interested |
Beta Was this translation helpful? Give feedback.
Sorry all, I found the error. It was with my matrix generation function. Here is the updated version of the test if anyone is interested
CODE : spmv.cpp