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
Этот коммит содержится в:
Jaydeep Patel authored and Jaydeepkumar Patel committed 2024-01-17 04:42:52 -05:00
1 родитель fb2c100d8c
Коммит ea25e65834
3 files changed
+7 -3

No files matched your search

+1 -1
Просмотреть файл
@@ -575,7 +575,7 @@ static amd_comgr_status_t populateKernelMetaV3(const amd_comgr_metadata_node_t k
kernel->SetWGPMode(buf.compare("true") == 0);
break;
case KernelField::UniformWrokGroupSize:
kernel->setUniformWorkGroupSize(buf.compare("true") == 0);
kernel->setUniformWorkGroupSize(buf.compare("1") == 0);
break;
default:
return AMD_COMGR_STATUS_ERROR;