[Beignet] Fwd: clSetKernelArg CL_INVALID_ARG_SIZE error

Алексей Родионов alexey at rd-team.ru
Wed Nov 5 05:26:24 PST 2014


I have a kernel with float3 argument. In C++ code I use cl_float3 (which is
actually cl_float4). When I call clSetKernelArg with 3rd argument
sizeof(cl_float3) it gives me an error CL_INVALID_ARG_SIZE. If i use my own
structure with just 3 floats - it works. With NVIDIA it works with
cl_float3 just fine. Is it a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20141105/c463fd50/attachment.html>


More information about the Beignet mailing list