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
If a ptr arg is misaligned (ptr to 8bit/16bit, etc), we must
use buffer offset to convert them to stateful; otherwise, they
must remain stateless.
This is due to the fact that surface state's base must be DW-aligned.
This bug was not exposed in ocl tests (probably due to less coverage).
THis code is off by default now.
Change-Id: I4721642454ad74559a47ff8afbf115100efc2e34
Copy file name to clipboardExpand all lines: IGC/common/igc_flags.def
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -196,8 +196,9 @@ DECLARE_IGC_REGKEY(debugString, SIPOverrideFilePath, 0, "This key when en
196
196
DECLARE_IGC_REGKEY(bool, DumpPayloadToScratch, false, "Setting this to 1/true dumps thread payload to scartch space. Used for workloads which doesnt use scartch space for other purposes", false)
DECLARE_IGC_REGKEY(bool, SToSProducesPositivePointer, false, "This key is for StatelessToStatefull optimization if the user knows the pointer offset is postive to the kernel argument.", false)
199
-
DECLARE_IGC_REGKEY(bool, EnableSupportBufferOffset, false, "[Temporary]For StatelessToStatefull optimization [OCL], support implicit buffer offset argument (same as -cl-intel-has-buffer-offset-arg).", false)
200
-
DECLARE_IGC_REGKEY(bool, EnableOptionalBufferOffset, true, "[Temporary]For StatelessToStatefull optimization [OCL], if true, make buffer offset optional. Valid only if buffer offset is supported.", true)
199
+
DECLARE_IGC_REGKEY(bool, EnableSupportBufferOffset, false, "[debugging]For StatelessToStatefull optimization [OCL], support implicit buffer offset argument (same as -cl-intel-has-buffer-offset-arg).", false)
200
+
DECLARE_IGC_REGKEY(bool, EnableOptionalBufferOffset, true, "For StatelessToStatefull optimization [OCL], if true, make buffer offset optional. Valid only if buffer offset is supported.", true)
201
+
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)
0 commit comments