CUDA 12 on Linux with -std=c++20 compile error
doocman opened this issue · comments
Robin Söderholm commented
Describe the bug
Using nvcc with -std=c++20 gives a compile error in taskflow's cuda_memory.hpp
due to usage of std::allocator<void>::const_pointer
which do no longer exist (std::allocator<void>
-specialisation is deprecated in c++17 and removed in c++20)
To Reproduce
Steps to reproduce the behavior:
- Get CUDA Toolkit 12
- Try to create some CuFlow objects
- Press compile
- See error
Desktop (please complete the following information):
- OS: ALMA Linux
Tsung-Wei Huang commented
Thank you for the fix! I have merged your pull request :)