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 vecmem/device interaction to alpaka test #549

Merged
merged 5 commits into from
Apr 23, 2024

Conversation

StewMH
Copy link
Contributor

@StewMH StewMH commented Apr 22, 2024

Use vecmem in alpaka test. Could think about some way to simplify the boilerplate with the ifdef'ed vecmem::cuda and vecmem::hip.

Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm generally on board, modulo the technical comments. 😛

tests/alpaka/alpaka_basic.cpp Outdated Show resolved Hide resolved
tests/alpaka/CMakeLists.txt Outdated Show resolved Hide resolved
tests/alpaka/alpaka_basic.cpp Show resolved Hide resolved
Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately the CI doesn't at the moment test the CUDA and HIP builds (something that we should add later...), but the code looks reasonable at this point. So hopefully it will also work. 😉

@StewMH
Copy link
Contributor Author

StewMH commented Apr 23, 2024

Thanks Attila. I tested the CUDA and HIP compilation locally and it should be fine. The HIP build only works with clang 17 + ROCM 6, which may make things tricky for the CI.

@krasznaa krasznaa merged commit 118fee0 into acts-project:main Apr 23, 2024
17 of 18 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.

2 participants