TriBITS icon indicating copy to clipboard operation
TriBITS copied to clipboard

Support treating all C++ source files as CUDA, HIP, etc.

Open bartlettroscoe opened this issue 1 year ago • 0 comments

Related issues

Description

This story is to add support to TriBITS for automatically treating all (or most) C++ files as CUDA files for the CMake built-in CUDA language. This is to support projects that were using the Kokkos nvcc_wrapper (and here). This story is to extend TriBITS to support setting the language to CUDA for all C++ source files, like nvcc_wrapper does, when TPL_ENABLE_CUDA is set to TRUE.

ToDo: Finish!

Background

???

Definition of Done

  • [ ] Setting TPL_ENABLE_CUDA to TRUE automatically sets the source file property LANGUAGE for all C++ files to CUDA (or some indirection variable for that like from Kokkos_COMPILE_LANGUAGE)

ToDo: Finish!

Tasks

  • [ ] ???

bartlettroscoe avatar Oct 23 '24 23:10 bartlettroscoe