Skip to content

remove remaining SYNERGIA_ENABLE_CUDA/KOKKOS_ENABLE_CUDA for portability #199

@s-sajid-ali

Description

@s-sajid-ali

In the interest of portability, we need to remove SYNERGIA_ENABLE_CUDA/KOKKOS_ENABLE_CUDA (which would not work for AMD/Intel GPUs). A possible solution, as mentioned by the kokkos-devs is to use:
std::is_same_v on DefaultExecutionSpace and DefaultHostExecutionSpace to detect the presence of a device backend.

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