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 commit1b05247a03. Reason for revert: Waiting for staging results before finally merging it. Change-Id: Iaabb510325f50147f368108e98531291217627c0 [ROCm/clr commit:77be355fd9]
This commit is contained in:
zatwierdzone przez
Maneesh Gupta
rodzic
3b42f3c995
commit
5b6349bb60
@@ -762,9 +762,7 @@ bool LightningProgram::createKernels(void* binary, size_t binSize, bool useUnifo
|
||||
}
|
||||
kernels()[kernelName] = kernel;
|
||||
|
||||
if (codeObjectVer() < 5) {
|
||||
kernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
}
|
||||
kernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
}
|
||||
}
|
||||
executable_ = loader_->CreateExecutable(HSA_PROFILE_FULL, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user