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 e26848d commit cb03a1bCopy full SHA for cb03a1b
sycl/source/detail/device_kernel_info.cpp
@@ -61,7 +61,7 @@ inline constexpr bool operator==(const CompileTimeKernelInfoTy &LHS,
61
62
void DeviceKernelInfo::setCompileTimeInfoIfNeeded(
63
const CompileTimeKernelInfoTy &Info) {
64
- if (isCompileTimeInfoSet())
+ if (!isCompileTimeInfoSet())
65
CompileTimeKernelInfoTy::operator=(Info);
66
assert(isCompileTimeInfoSet());
67
assert(Info == *this);
0 commit comments