Skip to content
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

[SYCL][E2E] Add LIT feature for HIP #17692

Merged
merged 3 commits into from
Mar 28, 2025
Merged

[SYCL][E2E] Add LIT feature for HIP #17692

merged 3 commits into from
Mar 28, 2025

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Mar 27, 2025

We already have features for Level Zero and CUDA, add one for HIP.

Signed-off-by: Sarnie, Nick <[email protected]>
Signed-off-by: Sarnie, Nick <[email protected]>
@sarnex sarnex temporarily deployed to WindowsCILock March 27, 2025 19:45 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock March 27, 2025 19:59 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock March 27, 2025 19:59 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock March 28, 2025 00:18 — with GitHub Actions Inactive
@sarnex sarnex marked this pull request as ready for review March 28, 2025 14:57
@sarnex sarnex requested review from a team as code owners March 28, 2025 14:57
@sarnex sarnex changed the title [SYCL] Add LIT feature for HIP [SYCL][E2E] Add LIT feature for HIP Mar 28, 2025

with test_env():
sp = subprocess.getstatusoutput(
config.dpcpp_compiler + " -fsycl " + check_hip_file + hip_options
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need -fsycl here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

probably not but i just copied what we did for cuda, i can remove it from both if you think thats better

Copy link
Contributor

Choose a reason for hiding this comment

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

No difference to me at all.

Copy link
Contributor

@KornevNikita KornevNikita left a comment

Choose a reason for hiding this comment

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

I don't insist on adding this, but we could test `REQUIRES: hip_dev_kit" by replacing this one (I already have a draft PR to update this, so you can ignore me):

// UNSUPPORTED: windows
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17515
// There are no ROCm libs on win machines, so the compilation fails.

@sarnex
Copy link
Contributor Author

sarnex commented Mar 28, 2025

@KornevNikita Yeah I'm still fighting with the Windows runners to get it actually working, once it does I'll let you know and please edit that test :)

@sarnex sarnex merged commit 8dd0613 into intel:sycl Mar 28, 2025
29 of 31 checks passed
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