Skip to content

[SYCL][HIP] Port HIP plugin to Unified Runtime #9617

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 50 commits into from
Jul 13, 2023

Conversation

omarahmed1111
Copy link
Contributor

This moves the HIP plugin implementation to Unified Runtime; and changes the pi_hip plugin to use pi2ur to implement PI. The changes to the implementation have been kept to a minimum and should be functionally the same. Documentation and comments have been moved verbatim, other than changing PI references to UR.

This PR is based on top of the CUDA adapter (#9512) so will only be ready when that is merged.

@omarahmed1111 omarahmed1111 temporarily deployed to aws May 26, 2023 09:37 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws May 30, 2023 09:39 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 6, 2023 15:20 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 12, 2023 17:19 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 12, 2023 19:06 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 13, 2023 12:27 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 13, 2023 13:09 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 force-pushed the hip_ur_port branch 4 times, most recently from dad9fa1 to d4c1c7b Compare June 14, 2023 15:27
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 14, 2023 15:44 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 14, 2023 17:15 — with GitHub Actions Inactive
@jandres742
Copy link
Contributor

looks good.

@omarahmed1111 omarahmed1111 marked this pull request as ready for review June 15, 2023 09:56
@omarahmed1111 omarahmed1111 requested review from a team as code owners June 15, 2023 09:56
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 20, 2023 15:59 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 20, 2023 16:40 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 21, 2023 11:31 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws June 21, 2023 12:39 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws July 11, 2023 12:04 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws July 11, 2023 12:47 — with GitHub Actions Inactive
@kbenzie
Copy link
Contributor

kbenzie commented Jul 11, 2023

@jandres742 I think we might only need your approval on this PR before its ready to merge.

@omarahmed1111 omarahmed1111 temporarily deployed to aws July 11, 2023 15:20 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws July 11, 2023 15:58 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws July 11, 2023 17:01 — with GitHub Actions Inactive
@jandres742
Copy link
Contributor

@jandres742 I think we might only need your approval on this PR before its ready to merge.

Looks good on my side. another adapter :), great!

@omarahmed1111 omarahmed1111 temporarily deployed to aws July 11, 2023 17:50 — with GitHub Actions Inactive
@omarahmed1111
Copy link
Contributor Author

@intel/llvm-gatekeepers could this be merged when possible.

@omarahmed1111 omarahmed1111 temporarily deployed to aws July 13, 2023 10:54 — with GitHub Actions Inactive
@omarahmed1111 omarahmed1111 temporarily deployed to aws July 13, 2023 11:34 — with GitHub Actions Inactive
@kbenzie
Copy link
Contributor

kbenzie commented Jul 13, 2023

@intel/llvm-gatekeepers could this be merged when possible.

@steffenlarsen seems like this may have slipped through the cracks yesterday, perhaps you can help us out?

@steffenlarsen steffenlarsen merged commit ba8c5c8 into intel:sycl Jul 13, 2023
againull pushed a commit that referenced this pull request Jul 13, 2023
fixes a post commit failure for hip porting
[PR](#9617)

Co-authored-by: Omar Ahmed <omar.ahmed@codeplay.com>
veselypeta added a commit to veselypeta/llvm that referenced this pull request Sep 28, 2023
This moves the HIP plugin implementation to Unified Runtime; and changes
the pi_hip plugin to use pi2ur to implement PI. The changes to the
implementation have been kept to a minimum and should be functionally
the same. Documentation and comments have been moved verbatim, other
than changing PI references to UR.

This PR is based on top of the CUDA adapter
(intel#9512) so will only be ready when
that is merged.

---------

Co-authored-by: Omar Ahmed <omar.ahmed@codeplay.com>
Co-authored-by: Petr Vesely <veselypeta@gmail.com>
Co-authored-by: Callum Fare <callum@codeplay.com>
Co-authored-by: Aaron Greig <aaron.greig@codeplay.com>
veselypeta pushed a commit to veselypeta/llvm that referenced this pull request Sep 28, 2023
fixes a post commit failure for hip porting
[PR](intel#9617)

Co-authored-by: Omar Ahmed <omar.ahmed@codeplay.com>
szadam pushed a commit to szadam/unified-runtime that referenced this pull request Oct 13, 2023
fixes a post commit failure for hip porting
[PR](intel/llvm#9617)

Co-authored-by: Omar Ahmed <omar.ahmed@codeplay.com>
omarahmed1111 added a commit to omarahmed1111/unified-runtime that referenced this pull request Oct 23, 2023
fixes a post commit failure for hip porting
[PR](intel/llvm#9617)

Co-authored-by: Omar Ahmed <omar.ahmed@codeplay.com>
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.