[PATCH] D11885: AMDGPU/SI: Add SI Machine Scheduler

Axel Davy via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 08:42:58 PDT 2015


axeldavy marked an inline comment as done.

================
Comment at: lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:134-135
@@ -123,2 +133,4 @@
       return createR600MachineScheduler(C);
+    //else //(uncomment to turn default for SI)
+    //  return createSIMachineScheduler(C);
     return nullptr;
----------------
tstellarAMD wrote:
> Ok.  We'll need to remove these commented lines before the patch is committed.
Then all the SI tests should be changed to use the converge scheduler (which is the current default one), else lots
of them will fail (because instruction order differs).

Since I'm not sure the scheduler is good for opencl tasks (perhaps the converge scheduler is better then),
I was thinking having mesa explicitly ask for the scheduler was better, but another option is to that opencl programs ask for the converge scheduler (or whatever else) if this scheduler is not good for them.

================
Comment at: lib/Target/AMDGPU/SIMachineScheduler.h:173-174
@@ +172,4 @@
+
+enum SISchedulerBlockCreatorVariant {
+    LatenciesAlone};
+
----------------
tstellarAMD wrote:
> Coding style, }; should be on new line.
ok


http://reviews.llvm.org/D11885





More information about the llvm-commits mailing list