From f1ed57e54dde47fd67b72ee91aa89c2f1ed9efcd Mon Sep 17 00:00:00 2001 From: MachineTom Date: Mon, 25 Aug 2025 22:30:55 -0400 Subject: [PATCH] SWDEV-550626 - Make atomics test pass with new compiler (#731) Change pinned host memory to device memory so that atomics Min/Max tests can pass with new compiler patch in integer types. --- projects/hip-tests/catch/unit/atomics/min_max_common.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/hip-tests/catch/unit/atomics/min_max_common.hh b/projects/hip-tests/catch/unit/atomics/min_max_common.hh index 1f6d180f83..356030a7e8 100644 --- a/projects/hip-tests/catch/unit/atomics/min_max_common.hh +++ b/projects/hip-tests/catch/unit/atomics/min_max_common.hh @@ -456,8 +456,7 @@ void MultipleDeviceMultipleKernelTest(const unsigned int num_devices, params.pitch = pitch; using LA = LinearAllocs; - // Here LA::hipHostMalloc means to allocate coherent host pined buffer - for (const auto alloc_type : {LA::hipHostMalloc}) { + for (const auto alloc_type : {LA::hipMalloc}) { params.alloc_type = alloc_type; DYNAMIC_SECTION("Allocation type: " << to_string(alloc_type)) { TestCore(params);