mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-05 15:42:24 +00:00
1364d268a4
PTX does not differentiate between read and write fences. Hence, these a lowered to a mem_fence call. The mem_fence function compiles to the “member.cta” instruction, which commits all outstanding reads and writes of a thread such that these become visible to all other threads in the same CTA (i.e., work-group). The instruction does not differentiate between global and local memory. Hence, the flags parameter is ignored, except for deciding whether a “member.cta” instruction should be issued at all. Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 315235
8 lines
176 B
Plaintext
8 lines
176 B
Plaintext
mem_fence/fence.cl
|
|
synchronization/barrier.cl
|
|
workitem/get_global_id.cl
|
|
workitem/get_group_id.cl
|
|
workitem/get_local_id.cl
|
|
workitem/get_local_size.cl
|
|
workitem/get_num_groups.cl
|