aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/module.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-01-26 12:57:10 +0100
committerRichard Biener <rguenther@suse.de>2024-01-26 15:36:35 +0100
commitc34ab549d88da13ae16edccedd4218807afefb65 (patch)
tree3b809bf03f9e204a136c688ce06f9618b10fbee8 /gcc/cp/module.cc
parent209ed06c3acddb25935ecdedf2b31235b71e5c39 (diff)
downloadgcc-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/cp/module.cc')
0 files changed, 0 insertions, 0 deletions