Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clEnqueueNDRangeKernel NULL event_wait_list #24

Open
rodrigonsh opened this issue Nov 19, 2020 · 1 comment
Open

clEnqueueNDRangeKernel NULL event_wait_list #24

rodrigonsh opened this issue Nov 19, 2020 · 1 comment

Comments

@rodrigonsh
Copy link

Hello! i'm trying to build on Freebsd12 and very early in the compilation I get this error

-- Build files have been written to: /root/Darknet-On-OpenCL/build
root@jarvis:~/Darknet-On-OpenCL/build # make
[  1%] Building CXX object CMakeFiles/darknet.dir/darknet_cl/src/activation_kernels_cl.cpp.o
/root/Darknet-On-OpenCL/darknet_cl/src/activation_kernels_cl.cpp:31:17: error: no matching function for call to 'clEnqueueNDRangeKernel'
        cl_int error = clEnqueueNDRangeKernel(*cl->queue, kernel, 3, NULL, global_size, NULL, NULL, NULL, &e);
                       ^~~~~~~~~~~~~~~~~~~~~~

/usr/local/include/CL/cl.h:1293:1: note: candidate function not viable: no known conversion from 'nullptr_t' to 'cl_uint' (aka 'unsigned int') for 7th argument
clEnqueueNDRangeKernel(cl_command_queue /* command_queue */,

Any idea?

@rodrigonsh
Copy link
Author

Also, i'm ABSOLUTE BEGINNER , so mayble you could point me towards some docs and papers ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant