clMathLibraries / clSPARSE

a software library containing Sparse functions written in OpenCL
Apache License 2.0
173 stars 60 forks source link

Fixed some buffer overruns in CSR-Adaptive kernels. #183

Closed jlgreathouse closed 8 years ago

jlgreathouse commented 8 years ago

The last workgroup would potentially reach past the end of the vals and cols arrays, getting garbage.

This caused problems on Nvidia GPUs.

Fixed and verified on an NV GPU.


This change is Reviewable

kknox commented 8 years ago

Reviewed 2 of 2 files at r1. Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io