-
Notifications
You must be signed in to change notification settings - Fork 762
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
Conversation
Signed-off-by: Sarnie, Nick <[email protected]>
Signed-off-by: Sarnie, Nick <[email protected]>
Signed-off-by: Sarnie, Nick <[email protected]>
|
||
with test_env(): | ||
sp = subprocess.getstatusoutput( | ||
config.dpcpp_compiler + " -fsycl " + check_hip_file + hip_options |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this 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):
llvm/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp
Lines 1 to 3 in 0a406c9
// UNSUPPORTED: windows | |
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17515 | |
// There are no ROCm libs on win machines, so the compilation fails. |
@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 :) |
We already have features for Level Zero and CUDA, add one for HIP.