소스 검색

Revert to parameters without offset, the csr interface does not support it yet anyway

Samuel Thibault 13 년 전
부모
커밋
c6b3c018a3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/spmv/spmv_opencl.cl

+ 2 - 2
examples/spmv/spmv_opencl.cl

@@ -17,8 +17,8 @@
 __kernel void spmv(unsigned nnz, unsigned nrow,
                    __global float* nzval, __global unsigned* colind,
                    __global unsigned* rowptr, unsigned firstentry,
-                   __global float *vecin, unsigned vecin_offset, unsigned nx_in,
-                   __global float *vecout, unsigned vecout_offset, unsigned nx_out)
+                   __global float *vecin, unsigned nx_in,
+                   __global float *vecout, unsigned nx_out)
 {
 	unsigned row;
 	// for (row = 0; row < nrow; row++)