From: Andrew Stubbs Date: Tue, 18 Oct 2022 15:22:53 +0000 (+0100) Subject: amdgcn: disallow USM on gfx908 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0889dd6912c8550e113d8b5417fd65291316209c;p=thirdparty%2Fgcc.git amdgcn: disallow USM on gfx908 It does work, but not well and only with the amdgpu.noreply=0 kernel boot option. gcc/ChangeLog: * config/gcn/gcn.cc (gcn_init_cumulative_args): Disallow gfx908. --- diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp index 1e05594a4c6a..d7b693ac8304 100644 --- a/gcc/ChangeLog.omp +++ b/gcc/ChangeLog.omp @@ -1,3 +1,7 @@ +2022-10-24 Andrew Stubbs + + * config/gcn/gcn.cc (gcn_init_cumulative_args): Disallow gfx908. + 2022-10-24 Andrew Stubbs * plugin/plugin-gcn.c (HSA_AMD_SYSTEM_INFO_SVM_SUPPORTED): New. diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index 9c2fd4c5b8a9..720c0a08a131 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -2905,6 +2905,7 @@ gcn_init_cumulative_args (CUMULATIVE_ARGS *cum /* Argument info to init */ , case PROCESSOR_FIJI: case PROCESSOR_VEGA10: case PROCESSOR_VEGA20: + case PROCESSOR_GFX908: error ("GPU architecture does not support Unified Shared Memory"); default: ;