-
Notifications
You must be signed in to change notification settings - Fork 794
[SYCL] [E2E] fix reenabled tests #15975
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] fix reenabled tests #15975
Conversation
| @@ -0,0 +1,85 @@ | |||
| // RUN: %if any-device-is-level_zero %{ %{build} -isystem %sycl_include -DBUILD_FOR_L0 -o %t-l0.out %} | |||
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.
Is BUILD_FOR_L0 still used? I think it can be dropped, no?
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, dropped. Thanks.
| @@ -0,0 +1,85 @@ | |||
| // RUN: %if any-device-is-level_zero %{ %{build} -isystem %sycl_include -o %t-l0.out %} | |||
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.
Tests which do not execute anything, but only check compilation, should be placed under sycl/test and they should use -fsyntax-only flag as well.
I'm fine with old tests still staying incorrect and be fixed in separate PR, but new tests should be written in a right way.
An alternative is to actually run an executable you build here, because you seem to have a full test. In that case you don't need any %if. Just say REQUIRES: level_zero.
Also, I don't think that you need -isystem %sycl_include at all. %{build} automatically passes -fsycl and the latter sets up all necessary include paths automatically.
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.
It was removed because sycl/test exist: sycl/test/basic_tests/interop-level-zero-2020.cpp and sycl/test/basic_tests/interop-backend-traits-level-zero.cpp
|
@AlexeySachkov @cperkinsintel @aelovikov-intel Please, review changes |
|
@aelovikov-intel @cperkinsintel please review it |
|
@aelovikov-intel @cperkinsintel please review it |
No description provided.