SWDEV-466601 - Fix invalid mem acccess in kernarg readback path

Change-Id: I4654ae592adc8cf9c687136d45eb1b28d99c7ae1
This commit is contained in:
Ioannis Assiouras committed 2024-06-10 15:13:05 +01:00
1 parent 1815fc808d
commit 055e05a12a
2 files changed
+3 -3

No files matched your search

+1 -1
Vedi File
@@ -3246,7 +3246,7 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes,
_mm_sfence();
*(argBuffer + argSize - 1) = *(parameters + argSize - 1);
_mm_mfence();
auto kSentinel = *reinterpret_cast<volatile address*>(argBuffer + argSize - 1);
auto kSentinel = *reinterpret_cast<volatile address>(argBuffer + argSize - 1);
}
}
}