-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL] Fix regression with program building #865
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] Fix regression with program building #865
Conversation
c018a08
to
a4bb7f4
Compare
Split to two pull requests |
a4bb7f4
to
02b83dc
Compare
Could you elaborate on the problem this patch fixes, please? |
What problem is introduced by #847? |
Programs and kernels tend to be cached in some illegal (for caching) use-cases. |
Programs and kernels are cached when program is built with sequence of By design, caching of kernels and programs is permitted only when program is built with |
This is not clear from the patch, so I suggest adding this information to the commit message. |
Done |
8d70a84
to
aa858c7
Compare
Signed-off-by: Sergey Kanaev <[email protected]>
Signed-off-by: Sergey Kanaev <[email protected]>
Signed-off-by: Sergey Kanaev <[email protected]>
Signed-off-by: Sergey Kanaev <[email protected]>
2aeba24
to
930bed7
Compare
Fixed sign-off |
Signed-off-by: Sergey Kanaev <[email protected]>
I can't find the fixed commit message. Could you share the link, please? |
Somehow, the empty commit just vanished away. I've edited description of the patch. |
This patch fixes regression introduced by #847: programs and kernels are cached when program is built with sequence of compile_with_kernel_type()/compile_with_source() and then linked with link().
By design, caching of kernels and programs is permitted only when program is built with build_with_kernel_type() using the default options.