diff options
author | Richard Biener <rguenther@suse.de> | 2024-01-26 12:57:10 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-01-26 15:36:35 +0100 |
commit | c34ab549d88da13ae16edccedd4218807afefb65 (patch) | |
tree | 3b809bf03f9e204a136c688ce06f9618b10fbee8 /gcc | |
parent | 209ed06c3acddb25935ecdedf2b31235b71e5c39 (diff) | |
download | gcc-c34ab549d88da13ae16edccedd4218807afefb65.zip gcc-c34ab549d88da13ae16edccedd4218807afefb65.tar.gz gcc-c34ab549d88da13ae16edccedd4218807afefb65.tar.bz2 |
Avoid registering unsupported OMP offload devices
The following avoids registering unsupported GCN offload devices
when iterating over available ones. With a Zen4 desktop CPU
you will have an IGPU (unspported) which will otherwise be made
available. This causes testcases like
libgomp.c-c++-common/non-rect-loop-1.c which iterate over all
decives to FAIL.
libgomp/
* plugin/plugin-gcn.c (suitable_hsa_agent_p): Filter out
agents with unsupported ISA.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions