ROCm / hipSPARSE

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

Fix bsrmv failures #477

Closed jsandham closed 4 months ago

jsandham commented 4 months ago

Fix bsrmv failures seen as a result of testing invalid arguments in the valid arguments section of the testing. The error specifically occurs because when we treat mb >0 and nb == 0 as being invalid but in reality this is a valid parameter and inside rocsparse performs the scaling by beta (i.e. y = beta * y). This is a problem because we are only allocating y with the "safe_size" value of 100 which is not sufficient if mb > 100.