[Mesa-dev] [Bug 66931] New: Can't specify local buffer size using clSetKernelArg
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 15 08:22:01 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=66931
Priority: medium
Bug ID: 66931
Assignee: mesa-dev at lists.freedesktop.org
Summary: Can't specify local buffer size using clSetKernelArg
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: jcharest at gmail.com
Hardware: Other
Status: NEW
Version: git
Component: Other
Product: Mesa
I always get return code -51 when I try to set the second argument of my
kernel. This argument is a local buffer. Here is the call I make:
clSetKernelArg(in_Kernel.mKernel, 1, 1024, NULL);
The kernel prototype is:
__kernel void GetEfficiency( __constant const SimulationParams * const
in_pSimulationParams, __local float * l_afEfficiencies, __global const float *
const in_pRandomValues, __global float * const out_pfEfficiencies)
So argument index 1 is really a local buffer as can be seen from the prototype.
I will try to investigate this further.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130715/8e14b866/attachment-0001.html>
More information about the mesa-dev
mailing list