Login  Register

Re: Global Memory - Temporary CLBuffer in device memory

Posted by mbien on Dec 24, 2011; 4:12am
URL: https://forum.jogamp.org/Global-Memory-Temporary-CLBuffer-in-device-memory-tp3609633p3610006.html

you are enqueueing a writeBuffer command in the second step. This will write the contents from host memory to device memory, overwriting your temp results. (NIO -> CL). Try using finish without this command again and it should work.

to speed it up you might consider using events instead of finish to decouple the app thread from the queue.

regards,
-michael