[Openmp-commits] [PATCH] D142369: [Libomptarget] Emit a special warning when no images are found
Ye Luo via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 23 13:57:59 PST 2023
ye-luo added a comment.
In D142369#4074095 <https://reviews.llvm.org/D142369#4074095>, @jhuber6 wrote:
> In D142369#4074092 <https://reviews.llvm.org/D142369#4074092>, @ye-luo wrote:
>
>> When libomptarget failed to load the amd plugin due to missing hsa runtime so files.
>> I got
>>
>> yeluo at epyc-server:~$ clang++ -fopenmp --offload-arch=gfx90a main.cpp
>> yeluo at epyc-server:~$ OMP_TARGET_OFFLOAD=mandatory ./a.out
>> Libomptarget error: Consult https://openmp.llvm.org/design/Runtimes.html for debugging options.
>> Libomptarget error: None of the images found are compatible: gfx90a
>> Libomptarget error: Source location information not present. Compile with -g or -gline-tables-only.
>> Libomptarget fatal error 1: failure of target construct while offloading is mandatory
>>
>> `None of the images found are compatible: gfx90a` this line is a bit hard to digest. Could you print a list of loaded plugins and a list of images.
>
> The following is the list of images found. I could try to make that more explicit. And by default we should have every plugin loaded.
By list all the successfully loaded plugins and images. I can figure out if the issue was caused by missing plugin or missing image.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142369/new/
https://reviews.llvm.org/D142369
More information about the Openmp-commits
mailing list