2
0

P4 to Git Change 1103884 by yaxunl@yaxunl_stg_win50 on 2014/12/09 15:30:25

EPR #405889 - Added option to set VGPR/SGPR/LDS usage in ISA to certain value greater than actual usage for debugging purpose. If the given value is smaller than actual value, this option has no effect.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/SI/scCompileSI.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/scHWShaderInfo.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#121 edit
Este cometimento está contido em:
foreman
2014-12-09 16:10:21 -05:00
ascendente ed3642807b
cometimento 9f760b7bf0
+15
Ver ficheiro
@@ -1115,6 +1115,21 @@ FLAG(OT_UINT32, OVIS_SUPPORT|OVIS_INTERNAL|OVA_REQUIRED, \
"limit-scalar-registers", OptLimitScalarRegisters, 0, \
"Maximum number of scalar registers that are available to the compiler.")
// -set-vector-registers=<value> (default 0 = no change)
FLAG(OT_UINT32, OVIS_SUPPORT|OVIS_INTERNAL|OVA_REQUIRED, \
"set-vector-registers", OptSetVecRegisters, 0, \
"Set the number of vector registers used in ISA (no effect if less than actual value).")
// -set-scalar-registers=<value> (default 0 = no change)
FLAG(OT_UINT32, OVIS_SUPPORT|OVIS_INTERNAL|OVA_REQUIRED, \
"set-scalar-registers", OptSetScalarRegisters, 0, \
"Set the number of scalar registers used in ISA (no effect if less than actual value).")
// -set-lds=<value> (default 0 = no change)
FLAG(OT_UINT32, OVIS_SUPPORT|OVIS_INTERNAL|OVA_REQUIRED, \
"set-lds", OptSetLDS, 0, \
"Set LDS usage in bytes in ISA (no effect if less than actual value).")
// -lower-atomics=0|1 (default is 1)
FLAG(OT_BOOL, OVIS_SUPPORT, "lower-atomics", LowerAtomics, 1,\
"Enable/disable pass lowering OCL atomics to LLVM intrinsics (only for x86/x64)")