Skip to content

Issues when building with CUDA on windows with Visual studio, latest release 2025 #1960

@horstsoft0815

Description

@horstsoft0815

When trying to build on Windows (after generating with CMake) within Visual Studio all works fine without CUDA enabled, but when CUDA is enabled (for btf and RAJA and also CUB is set active) then a big number of compile errors is propagated directly from a couple of central header files - all those messages are attached here:
compile_errors.txt

The used CMake configuration can be found here:
CMakeCache.txt

Other libraries such as Hypre or Kokkos build fine with this configuration and CUDA enabled under Windows.

Windows version: 11 23H2 (10.0.22631 Build 22631.6060)
Cuda toolkit version is 12.8
MSVSC compiler version is 19.40.33818
Visual Studio version is 17.10.10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions