AnsweredAssumed Answered

CL_INVALID_ARG_INDEX

Question asked by sajis997 on Sep 3, 2013
Latest reply on Sep 5, 2013 by himanshu.gautam

Hi forum,

 

 

I am allocating a memory buffer and getting error value -49 with the following command :

 

 

[code]

      errNum |= clSetKernelArg(clKernel,1, sizeof(cl_mem),trgBuffer);

[/code]

 

 

While allocating the trgBuffer i am not getting any error and it means that the memory creation was successful.

 

 

Any hint to track the reason of the error?

 

 

 

 

Thanks

Sajjad

Outcomes