Skip to content

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

@bartlettroscoe

Description

@bartlettroscoe

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

  • ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions