Update runtime/hsa-runtime/core/runtime/amd_blit_sdma.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yat Sin, David <David.YatSin@amd.com>

[ROCm/ROCR-Runtime commit: 0dec2ab43b]
Этот коммит содержится в:
Yat Sin, David
2025-07-08 21:33:54 -04:00
родитель 7114e098d6
Коммит 90153e90e1
+3 -1
Просмотреть файл
@@ -340,7 +340,9 @@ hsa_status_t BlitSdma<useGCR>::SubmitCommand(const void* cmd, size_t cmd_size, u
// Add space for acquire or release Hdp flush command
uint32_t flush_cmd_size = 0;
if (core::Runtime::runtime_singleton_->flag().enable_sdma_hdp_flush()) {
if (hdp_flush_support_) flush_cmd_size = flush_command_size_;
if (hdp_flush_support_) {
flush_cmd_size = flush_command_size_;
}
}
// Add space for cache flush.