Revert "SWDEV-359287 - uniform_work_group_size is interger type is 1 for true and 0 for false. Lighting kernel's init sets uniform work group flag and hence not need to set it from options."
This reverts commit ea25e65834.
Reason for revert: Waiting for staging results before finally merging it.
Change-Id: Iaabb510325f50147f368108e98531291217627c0
This commit is contained in:
committed by
Maneesh Gupta
parent
f40c380cdb
commit
77be355fd9
@@ -274,9 +274,7 @@ bool LightningProgram::createKernels(void* binary, size_t binSize, bool useUnifo
|
||||
if (!aKernel->init()) {
|
||||
return false;
|
||||
}
|
||||
if (codeObjectVer() < 5) {
|
||||
aKernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
}
|
||||
aKernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
aKernel->setInternalKernelFlag(internalKernel);
|
||||
kernels()[kernelName] = aKernel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user