14 Commity

Autor SHA1 Wiadomość Data
MachineTom 4a31affb76 Users/taosang/SWDEV-510994 - Refractor atomics header and tests (#902)
* SWDEV-550626 - Refactor atomics header and tests

1. Introduce __HIP_ATOMIC_BACKWARD_COMPAT.
By default we define __HIP_ATOMIC_BACKWARD_COMPAT=1 to
let hip atomic functions maintain old assumptions. if
users want to adopt the new behavior, that is , by default
assume no-fine-grained no-remote-memory, then they can
define __HIP_ATOMIC_BACKWARD_COMPAT=0 and get the new
behaviour.

2. Use  __HIP_ATOMIC_BACKWARD_COMPAT_MEMORY to replace
original __HIP_FINE_GRAINED_MEMORY  in atomic header.
And apply __HIP_FINE_GRAINED_MEMORY onto all 
atomicXXX_system() functions to prevent failure on memory
allocated by hipHostMalloc().

3. Replace HIP_TEST_FINE_GRAINED_MEMORY with
HIP_TEST_ATOMIC_BACKWARD_COMPAT_MEMORY in hip-tests.

4. Fix negative test errors.
    Fix managed memory test error on memory order.
    some other minor changes.
    As a result  all originally disabled tests are enabled.

5. Add more atomics tests in some cases.

6. Reduce test time in each case.
     Reduce iteration number to 1 for tests that cost too much time.

8. Put common codes into hip_test_common.hh
2025-09-25 10:58:59 -04:00
Assiouras, Ioannis 5283a114b2 SWDEV-549309 - Ensure that the kernel is issued to a stream that is ass… (#552)
* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device

* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device in atomic tests

* SWDEV-549309 - Added fix for Unit_hipMallocFromPoolAsync_Multidevice_Concurrent test

* SWDEV-549309 - Added fix for Unit_hipMemcpyPeerAsync_Positive_Default

* SWDEV-549309 - Added fix for Unit_hipStreamAttachMemAsync_Positive_AttachGlobal and Unit_hipGetProcAddress_GraphAPIs_AddMemsetMemcpyNodes

[ROCm/hip-tests commit: d21a95cea8]
2025-08-14 11:50:56 +05:30
Manocha, Rahul e7b5e7cf98 SWDEV-532473 - Check for P2P support in atomic mgpu tests (#225)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hip-tests commit: fcebe427fc]
2025-08-04 12:51:59 -07:00
GunaShekar, Ajay 0d4e5bc4ac SWDEV-527806 - hip-tests . Add P2P checks for mGPU atomics tests (#258)
[ROCm/hip-tests commit: 25a7cf681e]
2025-07-22 19:47:03 +05:30
Jiang, Julia 4b41394fe6 SWDEV-523483 - Updated hip-tests for atomics add-operation (#448)
[ROCm/hip-tests commit: a7344b87c2]
2025-07-19 06:49:03 +05:30
Sang, Tao 91681bfd28 SWDEV-516488 - Sync all devices. (#349)
[ROCm/hip-tests commit: 863f8828c3]
2025-07-02 10:05:40 +05:30
Sang, Tao 976d0574cf SWDEW_516488 - Fix possible atomics tests' failures (#292)
[ROCm/hip-tests commit: 6c60fcafd8]
2025-06-14 05:33:25 +05:30
Godavarthy Surya, Anusha 63376e2b32 SWDEV-519722 - Update test to work on MGpu machines without P2P access (#145)
[ROCm/hip-tests commit: 161ecddafe]
2025-05-14 20:52:58 +05:30
Rahul Manocha d6edbe7223 [SWDEV-454178] - Fix for Atomic Arithmetic testcases
Change-Id: I8c8a7026bfe4906108c7c90907ffe130cd993ab4


[ROCm/hip-tests commit: ba23adcded]
2024-10-25 14:51:55 -04:00
Rakesh Roy 8fc1292bc2 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385


[ROCm/hip-tests commit: 57bc68acb1]
2024-03-06 00:12:20 +05:30
Mirza Halilčević 70440d95e5 EXSWHTEC-298 - Extend tests for atomic CAS operations #287
Change-Id: Ieb3e7effc1d3f767c77c0cd7c0b20c391c4665af


[ROCm/hip-tests commit: 8f8e30e1c6]
2024-02-27 22:55:04 +05:30
Mirza Halilčević ab6ba8c0a8 EXSWHTEC-299 - Extend tests for atomic arithmetic operations #286
Change-Id: I221332c33be92ec152a2cd2ede34379aaa73d996


[ROCm/hip-tests commit: abf39d2dcd]
2024-02-27 22:54:15 +05:30
Mirza Halilčević af3497362e EXSWHTEC-275 - Implement tests for atomic CAS operations #408
Change-Id: I77c6995f1f85dedce3b3afb907abb03a4a1f2b83


[ROCm/hip-tests commit: 7659470dbc]
2024-02-26 22:01:41 +05:30
Mirza Halilčević 131cae5b91 EXSWHTEC-262 - Introduce common utilities for atomic arithmetic operations #392
Change-Id: I016e571d15b6b6c3a1b91a4bb4b5410e338efe49


[ROCm/hip-tests commit: 8ee015d1ef]
2024-02-26 16:00:41 +05:30