OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

Intel GPU BARRIER(CLK_GLOBAL_MEM_FENCE) behaviour

andradx
Beginner
134 Views
Can anyone please direct me to a documentation source on the intel Ivy Bridge GPU? Namely, I'm trying to figure out if BARRIER(CLK_GLOBAL_MEM_FENCE) will behave similarly to ADM or Nvidia devices. If there is an over-subscription of hardware threads will it draw a device deadlock with threads spinning on threads that cannot spawn reaching the barrier. TY for your help.
0 Kudos
1 Reply
Maxim_S_Intel
Employee
134 Views

If workitems within a workgroup follow the same path ( e.g. when your barrier is under if- clause), then no deadlock should occur by the best of my knowledge. All vendors follow the same OpenCL* pec so I suggest you rely on the specific description and recomendations from the OpenCL* standard as well.

Reply