Skip to content

Commit bfdf682

Browse files
committed
Roolback the previous fix
1 parent 2f84b15 commit bfdf682

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sycl/source/handler.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,11 +2538,7 @@ sycl::detail::CGType handler::getType() const { return impl->MCGType; }
25382538
void handler::setDeviceKernelInfo(kernel &&Kernel) {
25392539
MKernel = detail::getSyclObjImpl(std::move(Kernel));
25402540
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-
}
2541+
setDeviceKernelInfoPtr(&MKernel->getDeviceKernelInfo());
25462542
setType(detail::CGType::Kernel);
25472543

25482544
// If any extra actions are added here make sure that logic around

0 commit comments

Comments
 (0)