Note that there are some explanatory texts on larger screens.

plurals
  1. POerror while running makefile for opencl program
    primarykey
    data
    text
    <p>I have just started learning OpenCL. I received the following error when I typed in <code>make</code> to compile the HelloCL program:</p> <pre><code>mkdir -p depends/x86_64 perl ../../../../../make/fastdep.pl -I. -I../../../../../include -I../../../../../samples/opencl/SDKUtil/include --obj-suffix='.o' --obj-prefix='build/debug/x86_64//' HelloCL.cpp &gt; depends/x86_64/HelloCL.depend mkdir -p build/debug/x86_64/ Building build/debug/x86_64//HelloCL.o g++ -Wpointer-arith -Wfloat-equal -g3 -ffor-scope -I ../../../../../samples/opencl/SDKUtil/include -I "/opt/AMDAPP/include" -I ../../../../../include -o build/debug/x86_64//HelloCL.o -c HelloCL.cpp In file included from HelloCL.cpp:106:0: /opt/AMDAPP/include/CL/cl.hpp: In function ‘cl_int cl::UnloadCompiler()’: /opt/AMDAPP/include/CL/cl.hpp:1826:12: error: ‘::clUnloadCompiler’ has not been declared /opt/AMDAPP/include/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueMarker(cl::Event*) const’: /opt/AMDAPP/include/CL/cl.hpp:4842:13: error: ‘::clEnqueueMarker’ has not been declared /opt/AMDAPP/include/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueWaitForEvents(const std::vector&lt;cl::Event&gt;&amp;) const’: /opt/AMDAPP/include/CL/cl.hpp:4849:13: error: ‘::clEnqueueWaitForEvents’ has not been declared /opt/AMDAPP/include/CL/cl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueBarrier() const’: /opt/AMDAPP/include/CL/cl.hpp:4985:13: error: ‘::clEnqueueBarrier’ has not been declared make: *** [build/debug/x86_64//HelloCL.o] Error 1 </code></pre> <p>Can someone help me understand the errors I am seeing, and suggest the corrections that need to be made?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload