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 1b05247a03.

Reason for revert: Waiting for staging results before finally merging it.

Change-Id: Iaabb510325f50147f368108e98531291217627c0


[ROCm/clr commit: 77be355fd9]
This commit is contained in:
Jaydeepkumar Patel authored and Maneesh Gupta committed 2024-01-18 01:29:31 -05:00
1 förälder 3b42f3c995
incheckning 5b6349bb60
3 files changed
+3 -7

No files matched your search

@@ -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;
}