error while running makefile for opencl program -
i have started learning opencl. received following error when typed in make
compile hellocl program:
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 > 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 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<cl::event>&) 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
can me understand errors seeing, , suggest corrections need made?
looks cl.hpp use not adopted version of opencl sdk supports. try cl.hpp khronos site.
Comments
Post a Comment