]> gcc.gnu.org Git - gcc.git/commit
amdgcn: Support AMD-specific 'isa' traits in OpenMP context selectors
authorPaul-Antoine Arras <pa@codesourcery.com>
Tue, 29 Nov 2022 15:22:07 +0000 (16:22 +0100)
committerPaul-Antoine Arras <pa@codesourcery.com>
Wed, 30 Nov 2022 09:51:42 +0000 (10:51 +0100)
commit1fd508744eccda9ad9c6d6fcce5b2ea9c568818d
treecc7b73cf63318f5c36fdeb11ca363563e8ecdd91
parenta1b5cdf381d6b02f5048d886a8377d0042bda3af
amdgcn: Support AMD-specific 'isa' traits in OpenMP context selectors

Add support for gfx803 as an alias for fiji.
Add test cases for all supported 'isa' values.

gcc/ChangeLog:

* config/gcn/gcn.cc (gcn_omp_device_kind_arch_isa): Add gfx803.
* config/gcn/t-omp-device: Add gfx803.

libgomp/ChangeLog:

* testsuite/libgomp.c/declare-variant-4-fiji.c: New test.
* testsuite/libgomp.c/declare-variant-4-gfx803.c: New test.
* testsuite/libgomp.c/declare-variant-4-gfx900.c: New test.
* testsuite/libgomp.c/declare-variant-4-gfx906.c: New test.
* testsuite/libgomp.c/declare-variant-4-gfx908.c: New test.
* testsuite/libgomp.c/declare-variant-4-gfx90a.c: New test.
* testsuite/libgomp.c/declare-variant-4.h: New header file.
gcc/config/gcn/gcn.cc
gcc/config/gcn/t-omp-device
libgomp/testsuite/libgomp.c/declare-variant-4-fiji.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/declare-variant-4-gfx803.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/declare-variant-4-gfx900.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/declare-variant-4-gfx906.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/declare-variant-4-gfx908.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/declare-variant-4-gfx90a.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/declare-variant-4.h [new file with mode: 0644]
This page took 0.062164 seconds and 6 git commands to generate.