Quantcast
Channel: Community : All Content - OpenCL
Viewing all articles
Browse latest Browse all 2400

exclusive write after read memory access

$
0
0

for a memory location that is accessed by a single thread, is it allowed to do:

 

old = load_buffer(global_addr);

store_buffer(new, global_addr); // will be executed before the memory load is finished

 

and expect old to contain the original value and the memory to contain the new value?


Viewing all articles
Browse latest Browse all 2400

Latest Images

Trending Articles



Latest Images