public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libgomp.c/declare-variant-4.h: Fix used variant function for gfx1030/gfx1100
@ 2024-01-29 10:07 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2024-01-29 10:07 UTC (permalink / raw)
  To: gcc-patches, Andrew Stubbs

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

This fixes an obvious and stupid copy'n'paste bug of mine in
the OpenMP declare variant used for two testcases, fixing:
FAIL: libgomp.c/declare-variant-4-gfx1030.c 
scan-amdgcn-amdhsa-offload-tree-dump optimized "= gfx1030 \\(\\);" FAIL: 
libgomp.c/declare-variant-4-gfx1100.c 
scan-amdgcn-amdhsa-offload-tree-dump optimized "= gfx1100 \\(\\);" 
Committed as obvious as r14-8488-gcb366731e767e2
Tobias

[-- Attachment #2: committed.diff --]
[-- Type: text/x-patch, Size: 1273 bytes --]

commit cb366731e767e2dec158c8c4a495fe2ccbd550ff
Author: Tobias Burnus <tburnus@baylibre.com>
Date:   Mon Jan 29 11:06:15 2024 +0100

    libgomp.c/declare-variant-4.h: Fix used variant function for gfx1030/gfx1100
    
    libgomp/ChangeLog:
    
            * testsuite/libgomp.c/declare-variant-4.h: Use gfx1100/gfx1030
            function not gfx90a for gfx1100/gfx1030 context selector.
    
    Signed-off-by: Tobias Burnus <tburnus@baylibre.com>

diff --git a/libgomp/testsuite/libgomp.c/declare-variant-4.h b/libgomp/testsuite/libgomp.c/declare-variant-4.h
index 393a5e295cc..d2e9194bf5b 100644
--- a/libgomp/testsuite/libgomp.c/declare-variant-4.h
+++ b/libgomp/testsuite/libgomp.c/declare-variant-4.h
@@ -58,8 +58,8 @@ gfx1100 (void)
 #pragma omp declare variant(gfx906) match(device = {isa("gfx906")})
 #pragma omp declare variant(gfx908) match(device = {isa("gfx908")})
 #pragma omp declare variant(gfx90a) match(device = {isa("gfx90a")})
-#pragma omp declare variant(gfx90a) match(device = {isa("gfx1030")})
-#pragma omp declare variant(gfx90a) match(device = {isa("gfx1100")})
+#pragma omp declare variant(gfx1030) match(device = {isa("gfx1030")})
+#pragma omp declare variant(gfx1100) match(device = {isa("gfx1100")})
 __attribute__ ((noipa))
 int
 f (void)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-29 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 10:07 [committed] libgomp.c/declare-variant-4.h: Fix used variant function for gfx1030/gfx1100 Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).