Skip to content

Commit 9d9d6b3

Browse files
pkwasnie-inteligcbot
authored andcommitted
enable ShortImplicitPayloadHeader on PVC
Compute workloads add following implicit arguments: * payloadHeader - 8 x i32 packing global_id_offset (3 x i32), local_size (3 x i32) and 2 x i32 reserved. * enqueued_local_size - 3 x i32 Most of the time only enqueued_local_size is used, leaving local_size unnecessary. In the end, payloadHeader has unused 20 bytes. This commit enables short payload header on PVC platform.
1 parent 3c9eb3b commit 9d9d6b3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

IGC/Compiler/CISACodeGen/helper.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3032,9 +3032,6 @@ bool AllowShortImplicitPayloadHeader(const CodeGenContext *ctx) {
30323032
return false;
30333033
}
30343034

3035-
if (ctx->platform.getPlatformInfo().eProductFamily == IGFX_PVC)
3036-
return false;
3037-
30383035
return ctx->platform.isCoreChildOf(IGFX_XE_HP_CORE);
30393036
}
30403037

0 commit comments

Comments
 (0)