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

13: Rewrite SYCL stencil using USM #89

Merged
merged 1 commit into from
Nov 13, 2024
Merged

13: Rewrite SYCL stencil using USM #89

merged 1 commit into from
Nov 13, 2024

Conversation

al42and
Copy link
Collaborator

@al42and al42and commented Nov 13, 2024

Switching the example from buffers to USM, because:

  • USM is closer to how CUDA/HIP work, so added educational value,
  • more relevant for the HPC community, since buffers are, in practice, slower (even on this example),
  • should not suffer from the segfault seen on LUMI (presumably, something in ACpp runtime),
  • should have predictable performance regardless of how many CPUs/GPUs are available.

The only downside is that the code is a bit more verbose.

@code4yonglei code4yonglei merged commit ab0151a into main Nov 13, 2024
4 checks passed
@al42and al42and deleted the 13-sycl-usm branch November 14, 2024 09:47
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.

2 participants