Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove remaining SYNERGIA_ENABLE_CUDA/KOKKOS_ENABLE_CUDA for portability #199

Open
s-sajid-ali opened this issue Aug 3, 2023 · 0 comments

Comments

@s-sajid-ali
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant