rocr: Fix compile error when using clang

このコミットが含まれているのは:
David Yat Sin
2025-05-27 20:25:24 +00:00
committed by Yat Sin, David
コミット 9d38ca0d22
+1 -1
ファイルの表示
@@ -446,7 +446,7 @@ class GpuAgent : public GpuAgentInt {
_mm_sfence();
*((uint8_t*)ptr + size - 1) = *((uint8_t*)ptr + size - 1);
_mm_mfence();
auto readback = *reinterpret_cast<volatile uint8_t*>(ptr + size - 1);
auto readback = *(reinterpret_cast<volatile uint8_t*>(ptr) + size - 1);
}
}