SWDEV-359287 - uniform_work_group_size is interger type is 1 for true and 0 for false.

Change-Id: Iac5584c3cdd3bf78e3f1e89033b9ce7e07afefca
This commit is contained in:
Jaydeep Patel
2024-01-24 04:02:51 +00:00
committed by Maneesh Gupta
parent 8f9a20738e
commit 4177b4b675
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -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;