From 7550e55d6421280d5d3383c6ca3348fb0174938f Mon Sep 17 00:00:00 2001 From: Lukasz Jobczyk Date: Thu, 29 Aug 2024 10:30:37 +0000 Subject: [PATCH] fix: Always copy hostptr on gpu when mitigate dc flush Signed-off-by: Lukasz Jobczyk --- opencl/source/dll/command_queue_dll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl/source/dll/command_queue_dll.cpp b/opencl/source/dll/command_queue_dll.cpp index 1d86c9ff3d..a73659af45 100644 --- a/opencl/source/dll/command_queue_dll.cpp +++ b/opencl/source/dll/command_queue_dll.cpp @@ -18,7 +18,7 @@ bool CommandQueue::isTimestampWaitEnabled() { } bool checkIsGpuCopyRequiredForDcFlushMitigation(AllocationType type) { - return type != AllocationType::bufferHostMemory; + return true; } } // namespace NEO