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.
Change-Id: I8d3a9a6ed1c3bddaaa86f7cdc242a45e6a1d09f6
Este cometimento está contido em:
1 ascendente
fb2c100d8c
cometimento
ea25e65834
3 ficheiros modificados
+7
-3
Não existem ficheiros que correspondam à sua pesquisa
@@ -274,7 +274,9 @@ bool LightningProgram::createKernels(void* binary, size_t binSize, bool useUnifo
|
||||
if (!aKernel->init()) {
|
||||
return false;
|
||||
}
|
||||
aKernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
if (codeObjectVer() < 5) {
|
||||
aKernel->setUniformWorkGroupSize(useUniformWorkGroupSize);
|
||||
}
|
||||
aKernel->setInternalKernelFlag(internalKernel);
|
||||
kernels()[kernelName] = aKernel;
|
||||
}
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador