SWDEV-466601 - Fix invalid mem acccess in kernarg readback path
Change-Id: I4654ae592adc8cf9c687136d45eb1b28d99c7ae1
Ta zmiana jest zawarta w:
%! (template.HTML=
Ioannis Assiouras)złożyło 2024-06-10 15:13:05 +01:00
1 rodzic
1815fc808d
złożenie
055e05a12a
2 plików zmienionych
+3
-3
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika