Closed pvelesko closed 2 weeks ago
[ 63%] Building /home/pvelesko/chipStar/bitcode/ballot_native.cl clang++: warning: argument unused during compilation: '-cl-ext=+cl_khr_subgroup' [-Wunused-command-line-argument] /home/pvelesko/chipStar/bitcode/ballot_native.cl:33:10: error: use of undeclared identifier 'sub_group_ballot' 33 | return sub_group_ballot(predicate).x; | ^ 1 error generated. make[2]: *** [bitcode/CMakeFiles/rtdevlib.dir/build.make:138: bitcode/ballot_native.bc] Error 1 make[1]: *** [CMakeFiles/Makefile2:3037: bitcode/CMakeFiles/rtdevlib.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 Currently Loaded Modules: 1) mpich/51.2/icc-all-pmix-gpu 2) intel_compute_runtime/release/agama-devel-551 3) oneapi/eng-compiler/2022.12.30.003 4) libfabric/1.15.2.0 5) cray-pals/1.3.2 6) cray-libpals/1.3.2 7) llvm/17.0/dynamic 8) cmake
Using a more recent runtime and compiler resolves the error - cmake should be performing version checks.
Closing since the "fix" is just using a reasonably new runtime.