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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user