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