CMake: Improve compute capability detection by stotko · Pull Request #8 · stotko/stdgpu (original) (raw)

The compute capability detection code is currently compiled as a .cu file which involves quite long compilation times. Convert it to a .cpp file as no device code is involved and explicitly add the include directories and link libraries. This significantly cuts the compilation time for this single file.

Here, a minor fix for the NOTICE file is also included.