Skip to content

Commit

Permalink
Add generate_local_id zeinfo process
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ichenkai authored and igcbot committed Nov 12, 2024
1 parent 30ce11f commit 895ebe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IGC/AdaptorOCL/OCL/sp/zebin_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ void ZEBinaryBuilder::addKernelExecEnv(const SOpenCLKernelInfo& annotations,
env.inline_data_payload_size = annotations.m_threadPayload.PassInlineDataSize;
env.offset_to_skip_per_thread_data_load = annotations.m_threadPayload.OffsetToSkipPerThreadDataLoad;;
env.offset_to_skip_set_ffid_gp = annotations.m_threadPayload.OffsetToSkipSetFFIDGP;
env.generate_local_id = annotations.m_threadPayload.generateLocalID;

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

0 comments on commit 895ebe6

Please sign in to comment.