ROCm / hipSPARSE

ROCm SPARSE marshalling library
https://rocm.docs.amd.com/projects/hipSPARSE/en/latest/
MIT License
66 stars 41 forks source link

Fix windows failure caused by writing outside memory bounds #464

Closed jsandham closed 5 months ago

jsandham commented 5 months ago

Fix windows failure caused by writing outside memory bounds (specifically when k==0 and m>0 and n>0). Solution here is to not test invalid arguments inside the valid arguments section of the testing. I have instead moved the testing of invalid m, n, and k to the bad args section of the testing (just like we did in rocsparse).