Forum Discussion
Altera_Forum
Honored Contributor
8 years agoAs I mentioned earlier:
--- Quote Start --- Note that global memory consistency is only guaranteed at the end of kernel execution and hence, if you try to share a read_write buffer between multiple queues, you will get undefined behavior, unless you synchronize the calls using events. --- Quote End --- So, yes, do not do this unless you are using events to synchronize kernel calls from the host. Regarding the "note: candidate function has been explicitly made unavailable" message, Altera's Programming Guide says:The SDK does not support 64-bit atomic functions described in Section 9.7 of the OpenCL Specification version 1.0. That is probably the source of your problem.