Reply – Re: Global Memory - Temporary CLBuffer in device memory
Your Name
Subject
Message
or Cancel
In Reply To
Re: Global Memory - Temporary CLBuffer in device memory
— by mbien mbien
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