Skip to content

Fix offload extract #10257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 28, 2023
Merged

Fix offload extract #10257

merged 9 commits into from
Jul 28, 2023

Conversation

dseynhae
Copy link

@dseynhae dseynhae commented Jul 6, 2023

  • More comments for maintainability.
  • Extract relevant sections up front to speed up the embedded binary search.
  • Provide better diagnostics (especially providing info on the result files).
  • Fix code to work on Windows (COFF files).

@dseynhae dseynhae requested a review from a team as a code owner July 6, 2023 22:54
@dseynhae dseynhae temporarily deployed to aws July 6, 2023 23:10 — with GitHub Actions Inactive
@dseynhae dseynhae requested a review from a team as a code owner July 7, 2023 00:21
@dseynhae dseynhae temporarily deployed to aws July 7, 2023 00:38 — with GitHub Actions Inactive
@dseynhae dseynhae temporarily deployed to aws July 7, 2023 01:20 — with GitHub Actions Inactive
@dseynhae dseynhae requested review from mdtoguchi and asudarsa July 7, 2023 14:15
@mdtoguchi
Copy link
Contributor

Looks like there is an issue with the Windows variant of the LIT test.

// metadata on the embedded binaries)
unsigned FileNum = 0;

// * Create an array all the sections that have
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// * Create an array all the sections that have
// * Create an array of all the sections that have

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. Please address windows failure.

@aejjehint aejjehint temporarily deployed to aws July 13, 2023 19:40 — with GitHub Actions Inactive
@aejjehint aejjehint temporarily deployed to aws July 13, 2023 22:02 — with GitHub Actions Inactive
@aejjehint aejjehint temporarily deployed to aws July 26, 2023 14:28 — with GitHub Actions Inactive
@aejjehint aejjehint temporarily deployed to aws July 26, 2023 15:06 — with GitHub Actions Inactive
@mdtoguchi mdtoguchi requested a review from asudarsa July 26, 2023 20:41
Copy link
Contributor

@mdtoguchi mdtoguchi left a comment

Choose a reason for hiding this comment

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

OK for driver

@aejjehint aejjehint temporarily deployed to aws July 26, 2023 21:03 — with GitHub Actions Inactive
@aejjehint aejjehint temporarily deployed to aws July 26, 2023 21:41 — with GitHub Actions Inactive
@aejjehint aejjehint temporarily deployed to aws July 28, 2023 20:24 — with GitHub Actions Inactive
@aejjehint aejjehint temporarily deployed to aws July 28, 2023 20:25 — with GitHub Actions Inactive
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

@asudarsa
Copy link
Contributor

Hi @againull

This change seems good to go. Can you please take a look at this and merge if everything looks ok? The test failure is something we are not able to figure why it's happening. But, it does not seem to be caused by this PR.

Thanks

@aejjehint aejjehint temporarily deployed to aws July 28, 2023 20:37 — with GitHub Actions Inactive
@aejjehint aejjehint temporarily deployed to aws July 28, 2023 20:37 — with GitHub Actions Inactive
@againull againull merged commit 11f7bc6 into intel:sycl Jul 28, 2023
mdtoguchi pushed a commit to mdtoguchi/llvm that referenced this pull request Oct 18, 2023
- More comments for maintainability.
- Extract relevant sections up front to speed up the embedded binary
search.
- Provide better diagnostics (especially providing info on the result
files).
- Fix code to work on Windows (COFF files).

---------

Co-authored-by: Ejjeh <[email protected]>
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.

5 participants