compressed_matrix: Proper initialization of row_buffer.
If one creates a compressed_matrix A with given size, the row_buffer may hold random values. If operator() is used subsequently, invalid memory access is likely. Fixed by calling a kernel for zero'ing row_buffer. Overhead is almost certainly negligible (one kernel launch).
Loading
Please register or sign in to comment