Closed fwyzard closed 3 years ago
I could reproduce this issue exactly. Googling points you to exactly one result, which leads here: https://github.com/NVIDIA/thrust/issues/1268#issuecomment-695119871
A later comment mentions a bug report to the compiler team has been filed. So I guess we have to wait for NVIDIA to fix this :S
@fwyzard sry for the late response
Could you try if this error still exists in the current dev branch. With the latest dev and included alpaka 0.6.0 and CUDA 11.2 I do not see the issue:
docker run --runtime=nvidia -it registry.gitlab.com/hzdr/crp/alpaka-group-container/alpaka-ci-cuda112-gccpic:1.2
git clone -b dev https://github.com/alpaka-group/cupla.git
cmake -DCMAKE_CXX_COMPILER=g++-10 -DALPAKA_ACC_GPU_CUDA_ENABLE=ON -DALPAKA_CUDA_ARCH=70 cupla/example/CUDASamples/matrixMul/ -DBOOST_ROOT=/opt/boost/1.70.0/
hi @psychocoderHPC , thanks for the suggestion.
Do I just pick the HEAD of the dev
branch together with Alpaka 0.6.0 ?
hi @psychocoderHPC , I can confirm that using
the problem is solved.
hi @psychocoderHPC , I can confirm that using
- CUDA 11.2.1
- GCC 10.2.0 with -std=c++17
- Alpaka 0.6.0
- Cupla HEAD of the dev branch
the problem is solved.
Thanks for testing, I will close this issue.
For example, the
matrixMul
example builds find with GCC 9, CUDA 11, in C++17 mode:The same command using
g++-10
instead ofg++-9
failes withSome more tests:
g++-9
with-std=c++14
--> okg++-9
with-std=c++17
--> okg++-10
with-std=c++14
--> okg++-10
with-std=c++17
--> error (see above)