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

Change-Id: I37de83b7449461ce2378741e97ff8fb8da736523


[ROCm/clr commit: c585aefdb7]
Este commit está contenido en:
Jatin Chaudhary
2023-04-25 23:57:51 +01:00
cometido por Jatin Jaikishan Chaudhary
padre ebc60d68a8
commit 639656a09e
Se han modificado 3 ficheros con 6 adiciones y 5 borrados
+2 -1
Ver fichero
@@ -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) {