SWDEV-479620 - Change argument type to size_t from uint64_t in nonTemporalMemcpy function.

Change-Id: I31f8a2b00685789b027d78be40a9f82c235f51b9
Этот коммит содержится в:
kjayapra-amd
2024-08-16 07:26:44 -04:00
коммит произвёл Karthik Jayaprakash
родитель e07172ff57
Коммит 00eb038eec
+1 -1
Просмотреть файл
@@ -2939,7 +2939,7 @@ bool VirtualGPU::createVirtualQueue(uint deviceQueueSize)
// ================================================================================================
__attribute__((optimize("unroll-all-loops"), always_inline))
static inline void nontemporalMemcpy(
void* __restrict dst, const void* __restrict src, uint16_t size) {
void* __restrict dst, const void* __restrict src, size_t size) {
#if defined(ATI_ARCH_X86)
#if defined(__AVX512F__)
for (auto i = 0u; i != size / sizeof(__m512i); ++i) {