Re: [committed] amdgcn: Ensure gfx11 is running in cumode

2024-03-22 Thread Andrew Stubbs
On 22/03/2024 11:56, Thomas Schwinge wrote: Hi Andrew! On 2024-03-21T13:39:53+, Andrew Stubbs wrote: CUmode "on" is the setting for compatibility with GCN and CDNA devices. --- a/gcc/config/gcn/gcn-hsa.h +++ b/gcc/config/gcn/gcn-hsa.h @@ -107,6 +107,7 @@ extern unsigned int gcn_local_sy

Re: [committed] amdgcn: Ensure gfx11 is running in cumode

2024-03-22 Thread Thomas Schwinge
Hi Andrew! On 2024-03-21T13:39:53+, Andrew Stubbs wrote: > CUmode "on" is the setting for compatibility with GCN and CDNA devices. > --- 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); >

[committed] amdgcn: Ensure gfx11 is running in cumode

2024-03-21 Thread Andrew Stubbs
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/gc