aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-01-26 12:35:57 +0100
committerRichard Biener <rguenther@suse.de>2024-01-26 15:36:35 +0100
commit209ed06c3acddb25935ecdedf2b31235b71e5c39 (patch)
tree1bfca2d78f3f1fe67c54312aa654b06f183eb238 /gcc
parent56d0aba11abe22455f1deffa9eda59f4908453de (diff)
downloadgcc-209ed06c3acddb25935ecdedf2b31235b71e5c39.zip
gcc-209ed06c3acddb25935ecdedf2b31235b71e5c39.tar.gz
gcc-209ed06c3acddb25935ecdedf2b31235b71e5c39.tar.bz2
Fix architecture support in OMP_OFFLOAD_init_device for gcn
The following makes the existing architecture support check work instead of being optimized away (enum vs. -1). This avoids later asserts when we assume such devices are never actually used. libgomp/ * plugin/plugin-gcn.c (EF_AMDGPU_MACH::EF_AMDGPU_MACH_UNSUPPORTED): Add. (isa_code): Return that instead of -1. (GOMP_OFFLOAD_init_device): Adjust.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions