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.
Tá an tiomantas seo le fáil i:
MachineTom údaraithe agus GitHub tiomanta 2025-08-25 22:30:55 -04:00
1 tuismitheoir e8081bd91a
tiomantas f1ed57e54d
1 comhad athraithe
+1 -2
@@ -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<TestType, operation, false, __HIP_MEMORY_SCOPE_SYSTEM>(params);