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 2f84b15 commit bfdf682Copy full SHA for bfdf682
sycl/source/handler.cpp
@@ -2538,11 +2538,7 @@ sycl::detail::CGType handler::getType() const { return impl->MCGType; }
2538
void handler::setDeviceKernelInfo(kernel &&Kernel) {
2539
MKernel = detail::getSyclObjImpl(std::move(Kernel));
2540
MKernelName = getKernelName();
2541
- if (MKernel->isInterop()) {
2542
- // For regular kernels (created from user functors) the DeviceKernelInfo is
2543
- // set from the ProgramManager
2544
- setDeviceKernelInfoPtr(&MKernel->getDeviceKernelInfo());
2545
- }
+ setDeviceKernelInfoPtr(&MKernel->getDeviceKernelInfo());
2546
setType(detail::CGType::Kernel);
2547
2548
// If any extra actions are added here make sure that logic around
0 commit comments