cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

thejascr
Adept II

question about calling clEnqueueWriteBuffer() during kernel execution

hi,

Can I invoke clEnqueueWriteBuffer() on a buffer which is currently being written to by a kernel running on a GPU device?

Lets say I dont care about the conflict of data and I know what I am doing. Does OpenCL implementations allow this?

Thanks

-Thejas

0 Likes
1 Reply
binying
Challenger

Well, I think if it is not listed in the pdf file of openCL specification, the result of invoking clEnqueueWriteBuffer() on a buffer which is currently being written to by a kernel running on a GPU device depends on what openCL implementation it is.

0 Likes