Skip to content
Commit e7950174 authored by Karl Rupp's avatar Karl Rupp
Browse files

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).
parent 6a331e03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment