Thanks to this answer, CUDA 12 C++20 support with CMake not working, I have .cu files building with C++20 using CMake and Visual Studio 2022.
However, when I import a C++ module in a .cu file, it gives an error: "catastrophic error : could not find module file for module"
Are C++20 modules supported in CUDA 12? I cannot find examples anywhere.
It is also possible that I need to modify the CMake configuration, but I'm not sure what needs to be done.