[Mesa-dev] [Bug 99856] OpenCL Hello world returns "unsupported call to function get_local_size"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 21 14:38:29 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99856

--- Comment #3 from Vedran Miletić <vedran at miletic.net> ---
On Fedora 25 with custom-compiled LLVM, libclc, and Mesa:

$ gcc -lOpenCL -lm hello.c
hello.c: In function ‘main’:
hello.c:269:5: warning: ‘clCreateCommandQueue’ is deprecated
[-Wdeprecated-declarations]
     commands = clCreateCommandQueue(context, device_id, 0, &err);
     ^~~~~~~~
In file included from hello.c:121:0:
/usr/include/CL/cl.h:1427:1: note: declared here
 clCreateCommandQueue(cl_context                     /* context */,
 ^~~~~~~~~~~~~~~~~~~~

$ ./hello
Computed '1024/1024' correct values!

I would say this is a distribution issue.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170221/3d33d490/attachment.html>


More information about the mesa-dev mailing list