I'm building with cmake -Bbuild -H. -DMODEL=cuda -DCUDA_ARCH=sm_90 -DCMAKE_CUDA_COMPILER=nvcc using gcc 11.5.0 and nvcc 13.2.0.
In v6.0-rc I get this error when building.
[ 33%] Building CUDA object CMakeFiles/cuda-stream.dir/src/cuda/CUDAStream.cu.o
[ 66%] Building CXX object CMakeFiles/cuda-stream.dir/src/main.cpp.o
/home/almalinux/BabelStream/src/main.cpp: In instantiation of ‘void run() [with T = float]’:
/home/almalinux/BabelStream/src/main.cpp:97:15: required from here
/home/almalinux/BabelStream/src/main.cpp:280:42: error: ‘class Stream<float>’ has no member named ‘init_arrays’; did you mean ‘get_arrays’?
280 | auto initElapsedS = time([&] { stream->init_arrays(startA, startB, startC); });
| ~~~~~~~~^~~~~~~~~~~
| get_arrays
In v5.0 it builds successfully.
I'm building with
cmake -Bbuild -H. -DMODEL=cuda -DCUDA_ARCH=sm_90 -DCMAKE_CUDA_COMPILER=nvccusing gcc 11.5.0 and nvcc 13.2.0.In
v6.0-rcI get this error when building.In
v5.0it builds successfully.