Login  Register

Re: using shared memory using jocl

Posted by Michael Bien on Oct 02, 2010; 2:42pm
URL: https://forum.jogamp.org/Re-using-shared-memory-using-jocl-tp1614904p1620194.html

good that its working for you.

Would setArgToNull be a better name for this method? Hmm, or maybe even exposing setArg(int argumentIndex, Buffer value) directly...

feedback is very appreciated,

best regards,
michael

On 10/02/2010 01:19 PM, harishd [via jogamp] wrote:
Hi Micheal,

Actually I was calling the wrong function. I later found that I should actually be using
kernel.setNullArg(argumentIndex, size). This resolved the issue.

thanks,
Harish.



View message @ http://jogamp.762907.n3.nabble.com/Re-using-shared-memory-using-jocl-tp1614904p1619518.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


-- 
- - - -
http://michael-bien.com