prepare to write new spmv-like cuda kernel