CL_OUT_OF_RESOURCES in Command Queue during kernel enqueue
Designing error handling for a small OpenCL application that uses a single in-order Command Queue for kernel execution. The goal is to decide when CL_OUT_OF_RESOURCES should trigger a retry with reduced work-group size versus a hard failure. Constraints include vendor-dependent ICD behavior, the distinction between global memory allocation failure, register