]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
amdgcn: disallow USM on gfx908
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 18 Oct 2022 15:22:53 +0000 (16:22 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Mon, 24 Oct 2022 16:18:17 +0000 (17:18 +0100)
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.

gcc/ChangeLog.omp
gcc/config/gcn/gcn.cc

index 1e05594a4c6ab8bb3ca2f5c850bd842d5431e60f..d7b693ac830458d4a2614c43e9411c4a9e3e7153 100644 (file)
@@ -1,3 +1,7 @@
+2022-10-24  Andrew Stubbs  <ams@codesourcery.com>
+
+       * config/gcn/gcn.cc (gcn_init_cumulative_args): Disallow gfx908.
+
 2022-10-24  Andrew Stubbs  <ams@codesourcery.com>
 
        * plugin/plugin-gcn.c (HSA_AMD_SYSTEM_INFO_SVM_SUPPORTED): New.
index 9c2fd4c5b8a966d98d3ee3f54c5c0b4031ab51e7..720c0a08a131e6aab77cc810b5321bc82b0ee184 100644 (file)
@@ -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:
          ;