You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a pointer to SVM is not aligned to 4 bytes, Neo aligns it and stores
a difference between aligned and unaligned pointer into `bufferOffset`
argument, so that IGC can correctly access the memory. Neo must align
the pointer since hardware expects surface state base address to be
aligned to 4 bytes.
This change prevents optimizing `bufferOffset` argument usage out when
IGC cannot assure that a pointer is 4 bytes aligned.
(cherry picked from commit 37ea744)
DECLARE_IGC_REGKEY(bool, SToSProducesPositivePointer, false, "This key is for StatelessToStateful optimization if the user knows the pointer offset is postive to the kernel argument.", false)
293
293
DECLARE_IGC_REGKEY(bool, EnableSupportBufferOffset, false, "[debugging]For StatelessToStateful optimization [OCL], support implicit buffer offset argument (same as -cl-intel-has-buffer-offset-arg).", false)
294
294
DECLARE_IGC_REGKEY(bool, EnableOptionalBufferOffset, true, "For StatelessToStateful optimization [OCL], if true, make buffer offset optional. Valid only if buffer offset is supported.", true)
295
-
DECLARE_IGC_REGKEY(bool, UseSubDWAlignedPtrArg, false, "[OCL]If set, for kernel pointer arg such as ptr to char or short, the arg is not necessarily DW aligned", false)
|`ShaderOverride`| Will override any LLVM shader with matching name in c:\\Intel\\IGC\\ShaderOverride | - |
308
308
|`ShaderPassDisable`| Disable specific passes eg. '9;17-19;239-;Error Check;ResolveOCLAtomics:2;Dead Code Elimination:3-5;BreakConstantExprPass:7-'<br/> disable pass 9, disable passes from 17 to 19, disable all passes after 238, disable all occurrences of pass Error Check,<br/> disable second occurrence of ResolveOCLAtomics, disable pass Dead Code Elimination occurrences from 3 to 5,<br/> disable all BreakConstantExprPass after his 6 occurrence<br/> To show a list of pass names and their occurrence set ShaderDisplayAllPassesNames.<br/> Must be used with ShaderDumpEnableAll flag. | - |
309
309
|`SystemThreadEnable`| This key forces software to create a system thread. The system thread may still be created by software even<br/> if this control is set to false.The system thread is invoked if either the software requires<br/> exception handling or if kernel debugging is active and a breakpoint is hit. | - |
310
-
|`UseSubDWAlignedPtrArg`|[OCL]If set, for kernel pointer arg such as ptr to char or short, the arg is not necessarily DW aligned | - |
311
310
|`ld2dmsInstsClubbingThreshold`| Do not club more than these ld2dms insts into the new BB during MCSOpt | - |
312
311
|`manualEnableRSWA`| Enable read suppression WA for the send and indirect access | - |
0 commit comments