SWDEV-376453 - Changes to fix crash seen with HIP and recent compiler change with -O0

Change-Id: I37de83b7449461ce2378741e97ff8fb8da736523
This commit is contained in:
Jatin Chaudhary
2023-04-25 23:57:51 +01:00
committed by Jatin Jaikishan Chaudhary
parent 381e6520d0
commit c585aefdb7
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -1343,7 +1343,8 @@ void Kernel::InitParameters(const amd_comgr_metadata_node_t kernelMD) {
// Allocate the hidden arguments, but abstraction layer will skip them
if (desc.info_.hidden_) {
if (desc.info_.oclObject_ == amd::KernelParameterDescriptor::HiddenCompletionAction) {
if (desc.info_.oclObject_ == amd::KernelParameterDescriptor::HiddenCompletionAction &&
!amd::IS_HIP) {
setDynamicParallelFlag(true);
}
if (codeObjectVer() == 2) {