SWDEV-376453 - Changes to fix crash seen with HIP and recent compiler change with -O0
Change-Id: I37de83b7449461ce2378741e97ff8fb8da736523
[ROCm/clr commit: c585aefdb7]
This commit is contained in:
committed by
Jatin Jaikishan Chaudhary
parent
ebc60d68a8
commit
639656a09e
@@ -348,12 +348,12 @@ hsa_kernel_dispatch_packet_t* HSAILKernel::loadArguments(VirtualGPU& gpu, const
|
||||
}
|
||||
break;
|
||||
case amd::KernelParameterDescriptor::HiddenDefaultQueue:
|
||||
if (vmDefQueue != 0) {
|
||||
if (vmDefQueue != 0 && dynamicParallelism()) {
|
||||
WriteAqlArgAt(hidden_arguments, vmDefQueue, it.size_, it.offset_);
|
||||
}
|
||||
break;
|
||||
case amd::KernelParameterDescriptor::HiddenCompletionAction:
|
||||
if (*vmParentWrap != 0) {
|
||||
if (*vmParentWrap != 0 && dynamicParallelism()) {
|
||||
WriteAqlArgAt(hidden_arguments, *vmParentWrap, it.size_, it.offset_);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user