P4 to Git Change 1140647 by yaxunl@yaxunl_stg_win50 on 2015/04/14 14:38:32

ECR #304775 - Add option to turn on/off SCOption_LIVENESS_BASED_INSTRUCTION_SCHEDULING.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scState.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#123 edit
Этот коммит содержится в:
foreman
2015-04-14 14:53:58 -04:00
родитель 31bc55d7e7
Коммит e81739b759
+9 -1
Просмотреть файл
@@ -747,7 +747,15 @@ OPTION(OT_BOOL, \
SCUseBufferForHsaGlobal, \
false, 0, 0, NULL, \
"HSA: use buffer instructions instead of flat for global memory")
// -fsc-live-sched -fno-sc-live-sched
OPTION(OT_BOOL, \
OA_RUNTIME|OA_RUNTIME|OVIS_SUPPORT|OVA_DISALLOWED|OFA_PREFIX_F, \
"sc-live-sched", NULL, \
SCLiveSched, \
false, 0, 0, NULL, \
"SC turn on/off liveness based instruction scheduling (default off)")
// -scras=int or --sc-si-opt-reg-alloc-strategy (default 4)
// 4 let OCL compiler choose SC reg alloc strategy by heuristic
// keep this updated with SCShaderSi.h