https://bugs.freedesktop.org/show_bug.cgi?id=86326
Bug ID: 86326 Summary: clEnqueueNDRangeKernel global_work_offset ignored Product: Mesa Version: 10.3 Hardware: x86 (IA32) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Other Assignee: mesa-dev@lists.freedesktop.org Reporter: luke-jr+freedesktopb...@utopios.org "global_work_offset can be used to specify an array of work_dim unsigned values that describe the offset used to calculate the global ID of a work-item. If global_work_offset is NULL, the global IDs start at offset (0, 0, ... 0)." From: https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueNDRangeKernel.html However, Mesa passes this into clover/core/kernel.cpp kernel::launch, which then simply ignores it entirely. Note that OpenCL 1.0 required global_work_offset to be NULL, but Mesa claims OpenCL 1.1, and if it was only OpenCL 1.0 it would still need to fail if global_work_offset was non-NULL. As a result of this bug, software tries to use global_work_offset and ends up with kernels executing with the wrong values for get_global_id(0) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev