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.
Change-Id: Ife45c1e3ccef03d16d7e07c3e0714fd8fd388fd3
[ROCm/clr commit: 2c9c58e7bb]
This commit is contained in:
committed by
Jaydeepkumar Patel
parent
cea26614db
commit
063b3d4e51
@@ -748,8 +748,9 @@ bool LightningProgram::createKernels(void* binary, size_t binSize, bool useUnifo
|
||||
return false;
|
||||
}
|
||||
kernels()[kernelName] = kernel;
|
||||
|
||||
kernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
if (codeObjectVer() < 5) {
|
||||
kernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
}
|
||||
}
|
||||
|
||||
executable_ = loader_->CreateExecutable(HSA_PROFILE_FULL, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user