https://bugs.freedesktop.org/show_bug.cgi?id=66931
Priority: medium Bug ID: 66931 Assignee: mesa-dev@lists.freedesktop.org Summary: Can't specify local buffer size using clSetKernelArg Severity: normal Classification: Unclassified OS: Linux (All) Reporter: jchar...@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.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev