SWDEV-376453 - Changes to fix crash seen with HIP and recent compiler change with -O0
Change-Id: I37de83b7449461ce2378741e97ff8fb8da736523
This commit is contained in:
committed by
Jatin Jaikishan Chaudhary
parent
381e6520d0
commit
c585aefdb7
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user