We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17836b3 commit 0380d1cCopy full SHA for 0380d1c
sycl/source/handler.cpp
@@ -227,8 +227,9 @@ event handler::finalize() {
227
// If there were uses of set_specialization_constant build the kernel_bundle
228
KernelBundleImpPtr = getOrInsertHandlerKernelBundle(/*Insert=*/false);
229
if (KernelBundleImpPtr) {
230
- // Make sure implicit kernel bundles has the kernel
231
- if (!getHandlerImpl()->isStateExplicitKernelBundle()) {
+ // Make sure implicit non-interop kernel bundles have the kernel
+ if (!KernelBundleImpPtr->isInterop() &&
232
+ !getHandlerImpl()->isStateExplicitKernelBundle()) {
233
kernel_id KernelID =
234
detail::ProgramManager::getInstance().getSYCLKernelID(MKernelName);
235
KernelBundleImpPtr->add_kernel(KernelID, MQueue->get_device());
0 commit comments