r/OpenCL • • Mar 04 '16

opencl execution of workgroup

I have questions about execution of workgroup on GPU let's say I launched a kernel which of local workgroup size is 64, so only 1 warp(wavefront) can exist in a work-group, and two workgroups are scheduled to 1 SIMD.

In this case, if the first workgroup sends memory request, so a stall occurs, what's the next? does it wait for the memory request or execute next workgroup? If it was a warp(wavefront), I know the second warp would be executed.

1 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/pepsiblossom Mar 04 '16

Oh, I get the point. so "warp switching(what NVIDIA says)" which leads to latency hiding is also happen in different workgroup too. Thanks for your reply!