[Openmp-commits] [PATCH] D147756: [Libomptarget] Load an image if it is compatible with at least one device
Joseph Huber via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Apr 6 19:28:44 PDT 2023
jhuber6 added a comment.
In D147756#4250392 <https://reviews.llvm.org/D147756#4250392>, @ye-luo wrote:
>> Currently, we only load an image if its supported architecture matches all of the devices found.
>
> Cannot understand
>
> On my machine with one gfx906 GPU and one sm_86 GPU. When I build offload to both GPUs.
> Neither image supports both GPUs but they are both loaded fine.
I should have specified "If its architecture matches all of the devices found for a single plugin" E.g. currently we will not initialize two devices on a machine with both `gfx90a` and `gfx908`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147756/new/
https://reviews.llvm.org/D147756
More information about the Openmp-commits
mailing list