I am facing issues while building the following library with nvcc-11.3:
https://github.com/taskflow/taskflow
I recently updated the cuda tools on my Ubuntu 20.04 from CUDA-11.2 to CUDA-11.3 release from the package manager.
And, it seems the nvcc compiler parsing is broken in the CUDA-11.3 release.
With CUDA-11.2 installation I am able to build and run my application using the library mentioned above.
With CUDA-11.3 release I am receiving the following compilation failure:
cd /home/ameyavs/taskflow/build/examples/cuda && /usr/local/cuda-11.3/bin/nvcc -forward-unknown-to-host-compiler -I/home/ameyavs/taskflow -O3 -DNDEBUG --extended-lambda -Xcompiler=-Wall,-Wextra,-Wfatal-errors -std=c++17 -MD -MT examples/cuda/CMakeFiles/cuda_matmul.dir/cuda_matmul.cu.o -MF CMakeFiles/cuda_matmul.dir/cuda_matmul.cu.o.d -x cu -c /home/ameyavs/taskflow/examples/cuda/cuda_matmul.cu -o CMakeFiles/cuda_matmul.dir/cuda_matmul.cu.o
/home/ameyavs/taskflow/taskflow/core/../utility/serializer.hpp:313:21: error: expected ‘)’ before ‘&’ token
313 | Serializer(Device& device);
| ~ ^~
| )
compilation terminated due to -Wfatal-errors.
Let me know in-case further inputs are required.