diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp index 2a189de894..910360d000 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp @@ -623,6 +623,10 @@ void BlitSdma::BuildFenceComma packet_addr->HEADER_UNION.op = SDMA_OP_FENCE; + if (agent_->isa()->GetMajorVersion() >= 10) { + packet_addr->HEADER_UNION.mtype = 3; + } + packet_addr->ADDR_LO_UNION.addr_31_0 = ptrlow32(fence); packet_addr->ADDR_HI_UNION.addr_63_32 = ptrhigh32(fence);