<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - clEnqueueNDRangeKernel global_work_offset ignored"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86326">86326</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clEnqueueNDRangeKernel global_work_offset ignored
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>10.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86 (IA32)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>luke-jr+freedesktopbugs@utopios.org
</td>
</tr></table>
<p>
<div>
<pre>"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:
<a href="https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueNDRangeKernel.html">https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueNDRangeKernel.html</a>
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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>