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

fix[next]: Detection of ROCM vs CUDA gpu runtime #1448

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Feb 8, 2024

Call to cp.cuda.get_hipcc_path() seems not to work on Clariden to detect the gpu runtime used by CUPy. It returns ROCm on an Nvidia A100 node. Therefore, the allocator code was updated to use cp.cuda.runtime.is_hip.

@edopao edopao linked an issue Feb 8, 2024 that may be closed by this pull request
@edopao edopao changed the title fix[next]: Detection of ROCM vs CUDA gpu runtime (fixes #1447) fix[next]: Detection of ROCM vs CUDA gpu runtime Feb 8, 2024
@edopao
Copy link
Contributor Author

edopao commented Feb 8, 2024

cscs-ci run default

@edopao edopao marked this pull request as ready for review February 8, 2024 13:29
@edopao edopao requested a review from havogt February 8, 2024 13:29
@edopao edopao merged commit 54a2887 into GridTools:main Feb 8, 2024
31 checks passed
@edopao edopao deleted the gtfn-gpu-runtime branch February 8, 2024 15:51
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.

Detection of ROCM vs CUDA device on Clariden
2 participants