Skip to content

Conversation

@uditagarwal97
Copy link
Contributor

@uditagarwal97 uditagarwal97 commented Feb 21, 2025

llvm/llvm-project#124018 change the type of offload struct. This PR makes SYCL RT compatible with the new format, while keeping backwards compatibility with the older version (till next ABI-break window).


m_BinImg2KernelIDs[Img.get()].reset(new std::vector<kernel_id>);

for (sycl_offload_entry EntriesIt = EntriesB; EntriesIt != EntriesE;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will the iterator work when the input binary is using legacy entry format? sizeof entries are different.

@uditagarwal97
Copy link
Contributor Author

@intel/dpcpp-clang-driver-reviewers @intel/dpcpp-tools-reviewers please review the changes. Thanks.

@asudarsa
Copy link
Contributor

asudarsa commented Mar 6, 2025

Thanks so much for putting this change up. I will add my comments (if any) soon.

Copy link
Contributor

@asudarsa asudarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. Minor nits, some of which might need addressing.

Thanks

Copy link
Contributor

@asudarsa asudarsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the updates.

@sarnex sarnex merged commit 8e09ffa into intel:sycl Mar 10, 2025
41 of 47 checks passed
adamfidel pushed a commit to reble/llvm that referenced this pull request Mar 11, 2025
…#17109)

llvm/llvm-project#124018 change the type of
offload struct. This PR makes SYCL RT compatible with the new format,
while keeping backwards compatibility with the older version (till next
ABI-break window).

---------

Co-authored-by: Sergey Semenov <[email protected]>
@uditagarwal97 uditagarwal97 deleted the new_offload_entry branch November 5, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants