Revert "SWDEV-403995 - 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 063b3d4e51.

Change-Id: I077135a726320eb109888f0e7442120dc852ad3e


[ROCm/clr commit: 90f53925a3]
This commit is contained in:
Jaydeep Patel committed 2023-07-05 04:41:40 +00:00
1 parent c2b7aa6b73
commit 6fa299f3a3
3 files changed
+4 -7

No files matched your search

@@ -748,9 +748,8 @@ bool LightningProgram::createKernels(void* binary, size_t binSize, bool useUnifo
return false;
}
kernels()[kernelName] = kernel;
if (codeObjectVer() < 5) {
kernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
}
kernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
}
executable_ = loader_->CreateExecutable(HSA_PROFILE_FULL, nullptr);