-
Notifications
You must be signed in to change notification settings - Fork 798
[SYCL] remove invoking kernel_compiler #16035
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] remove invoking kernel_compiler #16035
Conversation
|
precommit failures due to infra issue |
maarquitos14
left a comment
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.
LGTM.
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.
Can we keep this (simpler) test for now, and just change it to use the sycl language?
The new approach doesn't handle the kernel_compiler_sycl.cpp test yet for a couple of unimplemented features (ESIMD, checking warnings, etc.). I believe the test failure there is currently hidden.
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'm demoting this PR back to "draft". That hidden test pass/fail made me not realize that the sycl_jit might not be quite ready yet to replace
For SYCL language support, the original POC wrote files to disk and invoked the clang compiler directly. This is suboptimal for various reasons. The SYCL_JIT compiler followed and is much faster. It is now supported on Windows as well, so there is no reason to have both.
In this PR we are removing the invoking version of kernel_compiler and making the SYCL_JIT one the default for supporting the
source_language::sycloption.