public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] amdgcn: Ensure gfx11 is running in cumode
@ 2024-03-21 13:39 Andrew Stubbs
  2024-03-21 13:39 ` [commmitted] amdgcn: Comment correction Andrew Stubbs
  2024-03-22 11:56 ` [committed] amdgcn: Ensure gfx11 is running in cumode Thomas Schwinge
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Stubbs @ 2024-03-21 13:39 UTC (permalink / raw)
  To: gcc-patches

CUmode "on" is the setting for compatibility with GCN and CDNA devices.

Committed to mainline.

gcc/ChangeLog:

	* config/gcn/gcn-hsa.h (ASM_SPEC): Pass -mattr=+cumode.
---
 gcc/config/gcn/gcn-hsa.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/gcn/gcn-hsa.h b/gcc/config/gcn/gcn-hsa.h
index 9cf181f52a4..c75256dbac3 100644
--- a/gcc/config/gcn/gcn-hsa.h
+++ b/gcc/config/gcn/gcn-hsa.h
@@ -107,6 +107,7 @@ extern unsigned int gcn_local_sym_hash (const char *name);
 		  "%{" NO_XNACK XNACKOPT "} " \
 		  "%{" NO_SRAM_ECC SRAMOPT "} " \
 		  "%{march=gfx1030|march=gfx1100:-mattr=+wavefrontsize64} " \
+		  "%{march=gfx1030|march=gfx1100:-mattr=+cumode} " \
 		  "-filetype=obj"
 #define LINK_SPEC "--pie --export-dynamic"
 #define LIB_SPEC  "-lc"
-- 
2.41.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-22 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21 13:39 [committed] amdgcn: Ensure gfx11 is running in cumode Andrew Stubbs
2024-03-21 13:39 ` [commmitted] amdgcn: Comment correction Andrew Stubbs
2024-03-22 11:56 ` [committed] amdgcn: Ensure gfx11 is running in cumode Thomas Schwinge
2024-03-22 13:12   ` Andrew Stubbs

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).