From a5b550e828b4bcb2e6c9d421faa5f32eaa5bba40 Mon Sep 17 00:00:00 2001 From: Ajay Date: Tue, 18 Oct 2022 19:33:23 +0000 Subject: [PATCH] SWDEV-360944 - palBlit setArgument desc.size_ --> argSize Fixes AMF tests that were impacted on Windows Change-Id: I0326e794ec5a34fdec7a5ff4ed79d5bd055997d2 --- rocclr/device/pal/palblit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/pal/palblit.cpp b/rocclr/device/pal/palblit.cpp index 3d802ed4f7..52c85d7166 100644 --- a/rocclr/device/pal/palblit.cpp +++ b/rocclr/device/pal/palblit.cpp @@ -1038,7 +1038,7 @@ inline void KernelBlitManager::setArgument(amd::Kernel* kernel, size_t index, si break; } - switch (desc.size_) { + switch (argSize) { case sizeof(uint32_t): *static_cast(param) = uint32_value; break;