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

Add CMake test for GPU-aware MPI #17

Merged
merged 1 commit into from
May 15, 2024

Conversation

rafbiels
Copy link
Collaborator

Try to compile and run send_recv_usm.cpp to determine whether the MPI implementation is GPU-aware. Enable building the MPI_with_SYCL examples only if at least one backend is found to work with MPI over GPU.

Also bump CMake minimum version to 3.12 to support CMP0074 for local testing with -DMPI_ROOT. This is 6 years old, so hopefully not controversial.

src/MPI_with_SYCL/CMakeLists.txt Outdated Show resolved Hide resolved
Try to compile and run send_recv_usm.cpp to determine
whether the MPI implementation is GPU-aware. Enable
building the MPI_with_SYCL examples only if at least
one backend is found to work with MPI over GPU.
@DuncanMcBain DuncanMcBain merged commit 561ee59 into codeplaysoftware:main May 15, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants