[Openmp-commits] [PATCH] D91713: [libomptarget] Implement get_device_num for amdgcn, nvptx
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat Nov 21 18:25:57 PST 2020
tianshilei1992 added a comment.
In D91713#2403572 <https://reviews.llvm.org/D91713#2403572>, @JonChesterfield wrote:
> Open to suggestions on testing. Calling it from a target region on amdgcn with multiple GPUs works. I don't have a cuda machine with multiple cards. A machine with one target returns 0 with or without this patch.
>
> Do we have any runtime tests for openmp in tree? Would need a CI machine with GPUs
I wrote a simple program to test this patch and it works as expected. Please add the test case into this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91713/new/
https://reviews.llvm.org/D91713
More information about the Openmp-commits
mailing list