-
Notifications
You must be signed in to change notification settings - Fork 807
[SYCL] Disable dead arg elimination for free function kernels #19776
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
Changes from 26 commits
34a11ca
edec2b4
c9680a2
b932fe6
6b6da56
ceaabfd
714839e
01b6936
dbc7f3e
3d3a618
20bf581
a95f22d
1060e14
90422fb
2cb0ca7
964e5af
6704b61
e6740fd
4f76afe
54b372b
17b7eda
dc92d56
8723efe
28569aa
01e13bc
06bc971
e83e510
5dccb9b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,7 +173,10 @@ int main() { | |
test_func_custom_type<A::B::C::TestClass>(); | ||
test_func<F<float>, float>(); | ||
test_func<F<uint32_t>, uint32_t>(); | ||
test_func<variadic_templated<double>, double>(); | ||
// Variadic template functions do not work with free function kernels. See | ||
// CMPLRLLVM-69528. | ||
// TODO: Uncomment the following line once the tracker is resolved. | ||
// test_func<variadic_templated<double>, double>(); | ||
Comment on lines
+176
to
+179
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll leave review of this to @AlexeySachkov. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it a regression from this patch, or is it something previously known? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I believe it's previously known. The failure described by the tracker has been happening since the test was created, it just wasn't caught by pre-commit since it only manifests with optimizations disabled. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Ideally, such test should be disabled in a separate PR not to cause confusion, but I'm fine with the change since we do have a tracker to analyze the issue |
||
test_func<sum1<3, float>, float>(); | ||
test_accessor(); | ||
test_shared(); | ||
|
Uh oh!
There was an error while loading. Please reload this page.