You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking at Hetero-Mark and following the instructions for building it. cmake seems to have had no errors, however when I try building, I get the following:
[ 16%] Building CXX object src/common/cl_util/CMakeFiles/cl_util.dir/cl_profiler.cc.o
[ 17%] Building CXX object src/common/cl_util/CMakeFiles/cl_util.dir/cl_runtime.cc.o
/home/ubuntu/Hetero-Mark/src/common/cl_util/cl_runtime.cc: In member function ‘_cl_command_queue* clHelper::clRuntime::getCmdQueue(unsigned int, cl_command_queue_properties)’:
/home/ubuntu/Hetero-Mark/src/common/cl_util/cl_runtime.cc:207:36: error: ignoring attributes on template argument ‘cl_queue_properties {aka long unsigned int}’ [-Werror=ignored-attributes]
std::vector<cl_queue_properties> queue_properties;
^
cc1plus: all warnings being treated as errors
src/common/cl_util/CMakeFiles/cl_util.dir/build.make:158: recipe for target 'src/common/cl_util/CMakeFiles/cl_util.dir/cl_runtime.cc.o' failed
make[2]: *** [src/common/cl_util/CMakeFiles/cl_util.dir/cl_runtime.cc.o] Error 1
CMakeFiles/Makefile2:366: recipe for target 'src/common/cl_util/CMakeFiles/cl_util.dir/all' failed
make[1]: *** [src/common/cl_util/CMakeFiles/cl_util.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
I was experiencing the same issue when I've tried to compile it with openCL12 option.
I tried removing "\" from the script:
from cmake -DCOMPILE_OPENCL12=On ..\
to cmake -DCOMPILE_OPENCL12=On ..
and the problem was solved
I'm looking at Hetero-Mark and following the instructions for building it. cmake seems to have had no errors, however when I try building, I get the following:
[ 16%] Building CXX object src/common/cl_util/CMakeFiles/cl_util.dir/cl_profiler.cc.o
[ 17%] Building CXX object src/common/cl_util/CMakeFiles/cl_util.dir/cl_runtime.cc.o
/home/ubuntu/Hetero-Mark/src/common/cl_util/cl_runtime.cc: In member function ‘_cl_command_queue* clHelper::clRuntime::getCmdQueue(unsigned int, cl_command_queue_properties)’:
/home/ubuntu/Hetero-Mark/src/common/cl_util/cl_runtime.cc:207:36: error: ignoring attributes on template argument ‘cl_queue_properties {aka long unsigned int}’ [-Werror=ignored-attributes]
std::vector<cl_queue_properties> queue_properties;
^
cc1plus: all warnings being treated as errors
src/common/cl_util/CMakeFiles/cl_util.dir/build.make:158: recipe for target 'src/common/cl_util/CMakeFiles/cl_util.dir/cl_runtime.cc.o' failed
make[2]: *** [src/common/cl_util/CMakeFiles/cl_util.dir/cl_runtime.cc.o] Error 1
CMakeFiles/Makefile2:366: recipe for target 'src/common/cl_util/CMakeFiles/cl_util.dir/all' failed
make[1]: *** [src/common/cl_util/CMakeFiles/cl_util.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: