Skip to content

Commit 895ebe6

Browse files
ichenkaiigcbot
authored andcommitted
Add generate_local_id zeinfo process
generate_local_id coud be needed on some UMD use case (ray tracing, etc.). And in this case, SW local ID allocation could be saved.
1 parent 30ce11f commit 895ebe6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IGC/AdaptorOCL/OCL/sp/zebin_builder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ void ZEBinaryBuilder::addKernelExecEnv(const SOpenCLKernelInfo& annotations,
553553
env.inline_data_payload_size = annotations.m_threadPayload.PassInlineDataSize;
554554
env.offset_to_skip_per_thread_data_load = annotations.m_threadPayload.OffsetToSkipPerThreadDataLoad;;
555555
env.offset_to_skip_set_ffid_gp = annotations.m_threadPayload.OffsetToSkipSetFFIDGP;
556+
env.generate_local_id = annotations.m_threadPayload.generateLocalID;
556557

557558
// extract required_sub_group_size from kernel attribute list
558559
// it will be in the format of "intel_reqd_sub_group_size(16)"

0 commit comments

Comments
 (0)