About CUDADriver param set ...

Mar 27, 2014 at 2:24 AM
Edited Mar 27, 2014 at 2:35 AM

I use CUDADriver to load PTX, and crash in IntPtr param as
(others func will be pass, like cuParamSeti、cuParamSetf)

<CUDAfy part>
int offset = 0;
CUDADriver.cuParamSetv(func, offset, D_A.Pointer, (uint)8);
<CUDA part>
extern "C" global void VecAdd_kernel(const float *A, const float *B, float *C, int "N){}
I googled problem like this, and nothing.
Is something wrong?