diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-05-02 11:56:16 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2024-05-02 11:56:16 +0200 |
commit | 5eb25d1561dd22316331feee92164f97ca79d1c3 (patch) | |
tree | 5b79979cab1909c7944c9b4288739954e2c413dc /gcc/tree-inline.cc | |
parent | 2f15787f2e1a3afe2c2ad93d4eb0d3c1f73c8fbd (diff) | |
download | gcc-5eb25d1561dd22316331feee92164f97ca79d1c3.zip gcc-5eb25d1561dd22316331feee92164f97ca79d1c3.tar.gz gcc-5eb25d1561dd22316331feee92164f97ca79d1c3.tar.bz2 |
libgomp: Add gfx90c, 1036 and 1103 declare variant tests
Recently -march=gfx{90c,1036,1103} support has been added, but corresponding
changes weren't done in the testsuite.
The following patch adds that.
Tested on x86_64-linux (with fiji and gfx1103 devices; had to use
OMP_DEFAULT_DEVICE=1 there, fiji doesn't really work due to LLVM dropping
support, but we still list those as offloading devices).
2024-05-02 Jakub Jelinek <jakub@redhat.com>
* testsuite/libgomp.c/declare-variant-4.h (gfx90c, gfx1036, gfx1103):
New functions.
(f): Add #pragma omp declare variant directives for those.
* testsuite/libgomp.c/declare-variant-4-gfx90c.c: New test.
* testsuite/libgomp.c/declare-variant-4-gfx1036.c: New test.
* testsuite/libgomp.c/declare-variant-4-gfx1103.c: New test.
Diffstat (limited to 'gcc/tree-inline.cc')
0 files changed, 0 insertions, 0 deletions