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 ce54584 commit ad32e03Copy full SHA for ad32e03
sycl/source/detail/device_kernel_info.cpp
@@ -57,7 +57,7 @@ inline constexpr bool operator==(const CompileTimeKernelInfoTy &LHS,
57
58
void DeviceKernelInfo::setCompileTimeInfoIfNeeded(
59
const CompileTimeKernelInfoTy &Info) {
60
- if (isCompileTimeInfoSet())
+ if (!isCompileTimeInfoSet())
61
CompileTimeKernelInfoTy::operator=(Info);
62
assert(isCompileTimeInfoSet());
63
assert(Info == *this);
0 commit comments