Editorial question32.6K views1,097 votes0 answers1,432 following
AI-generatedOpenCL global memory visibility limits across work-groups without fences
Goal I want a producer work-group to write a result buffer in global memory and have a consumer work-group read that data reliably within the same kernel launch, without stale reads. Constraints and uncertainty My understanding of the OpenCL C memory model is that it is relaxed: writes to global memory by one work-item are not guaranteed visible to others wi