Commit Graph

126 Commits

Author SHA1 Message Date
Sang, Tao 438882ceb7 SWDEV-514141 - Fix zero clock rate issues (#4)
1.Remove clock functions from some tests that don't need them.
2.In some memory pool tests and coherency tests, timer-based kernel
delay isn't reliable, use pinned host based notification instead.
3.Add CHECK_PCIE_ATOMICS_SUPPORT before some tests.
4.catch/unit/memory/hipMemoryAllocateCoherent.cc is removed
as it is useless and originally excluded in building.
5.Some tests can still pass even if clock rate =0, thus they
  will be kept as is.
6.Some logic and format improvement in some tests.

Change-Id: I6b3c6bf54c61cffd45cd6f17c75998f751b75725

[ROCm/hip-tests commit: ec8ff45a1d]
2025-06-11 21:11:25 +05:30
Andryeyev, German 0ad7f9c137 SWDEV-497841 - Add max alloc test for MemPool (#108)
Stress mempool with a lot of big memory allocations.
The test requires >30MB of free memory.

[ROCm/hip-tests commit: 0b1eed5acd]
2025-05-14 20:52:41 +05:30
Brzak, Branislav ee0e2af0e1 SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941 (#30)
[ROCm/hip-tests commit: 902988494e]
2025-03-19 15:42:18 +01:00
taosang2 f2ab8e53cc SWDEV-501963 - Add missing codes for gfx950
Change-Id: I6b3c6bf54c61cffd44cd6f17b75998f751b75724


[ROCm/hip-tests commit: 1a7df073ba]
2025-03-05 08:18:22 -05:00
Rambabu Swargam 41cf067716 SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 2
Change-Id: I4619f8e69b75d1193e98adce2707bf7876b1ba59


[ROCm/hip-tests commit: 7fb9301d6b]
2025-01-21 12:53:28 -05:00
Satyanvesh Dittakavi 9cad0a4d59 SWDEV-485372 - Fix texture catch tests to run on appropriate ASICs
Change-Id: I9ef93e37eb29c3d09c6448fe95dba39fa7060464


[ROCm/hip-tests commit: d5028f0c2a]
2024-12-09 10:35:43 -05:00
Marko Arandjelovic af278efe7d SWDEV-478998 - Add unit test for hipFreeHost
Change-Id: I85235243e0014ec6bd2b6a544222fdee8f0a7c68


[ROCm/hip-tests commit: 8736cabea3]
2024-12-04 11:56:44 -05:00
Michael Xie b3dcbdaaf6 SWDEV-492356 - Install hip-test artifacts into a single folder
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d


[ROCm/hip-tests commit: 72450ae7a1]
2024-11-13 18:22:32 -05:00
Ioannis Assiouras 7d8eb4adb8 SWDEV-483134 - Removed hipExtHostAlloc tests
Change-Id: Ifb938ad6d8382cfe25d531e5e36c5a4df986d940


[ROCm/hip-tests commit: b2e3b605a6]
2024-11-06 11:28:37 -05:00
Vladana Stojiljkovic 353bb4ac4d SWDEV-479312 - Implement tests for hipMemcpy2DArrayToArray
Change-Id: Id42557aefa0a887799402503c8905ee4cd322629


[ROCm/hip-tests commit: 558cbfd829]
2024-11-05 04:06:26 -05:00
Marko Arandjelovic 712ee64a1a SWDEV-478801 - Add unit test for hipMemcpyDtoA
Change-Id: Ia0f606294574c43b5e84438a33eda4c43bd0acbc


[ROCm/hip-tests commit: 04ad40156c]
2024-11-05 02:40:33 -05:00
Marko Arandjelovic a02d7f921d SWDEV-479213 - Add unit test for hipMemcpyHtoAAsync
Change-Id: I698eb2f7b73db439c1082ef79e2e5b5462e8fd1e


[ROCm/hip-tests commit: 003707116b]
2024-11-04 12:43:54 -05:00
Marko Arandjelovic 8b5dbca27c SWDEV-476486 - Add unit test for hipMemAllocHost
Change-Id: Ie77686b4e2a269b845b3187f27281a5a855bd731


[ROCm/hip-tests commit: a13da7ba02]
2024-11-04 05:12:05 -05:00
Ajay c39806eede SWDEV-1 - exclude hipExtHostAlloc.cc from nvidia test list
Change-Id: I31644cbf446f057af82235dccc54202ad3e81428


[ROCm/hip-tests commit: 61f3be259a]
2024-10-29 11:23:04 -04:00
Ioannis Assiouras 0976bd0249 SWDEV-480400 - Add unit test for hipExtHostAlloc
Change-Id: Ica92d1ae91bdc4feef52b7b07d55da4dff8d7542


[ROCm/hip-tests commit: 359aed1348]
2024-10-25 11:51:42 -04:00
Marko Arandjelovic 2e87246963 SWDEV-475749 - Add unit test for hipMallocHost
Change-Id: I0e94342ba68c12f64ac94a04a46f1c478e6f01be


[ROCm/hip-tests commit: 56ef43810b]
2024-10-23 14:05:33 -04:00
Rupam Chetia 779beb09f2 SWDEV-471105 - [catch2][dtest] Adding functional tests for hipMemPoolExportToShareableHandle, hipMemPoolExportPointer, hipMemPoolImportFromShareableHandle and hipMemPoolImportPointer
Change-Id: Ief0f0d7f4c05d741e49eaffa54f11338c4bdc30f


[ROCm/hip-tests commit: 9fd38dd3e1]
2024-10-23 02:45:00 -04:00
Marko Arandjelovic 34d13b7ec1 SWDEV-441278 - Add hipHostFree test
Change-Id: Ibb78f3d36aa35bf75329adf65f19da5977a965f3


[ROCm/hip-tests commit: bac782e398]
2024-10-23 01:04:44 -04:00
Marko Arandjelovic 2bdaaa8b8c SWDEV-475688 - Add unit test for hipHostAlloc
Change-Id: Id414d16651529983674b4f90391e0913feab0440


[ROCm/hip-tests commit: b0943c82ca]
2024-10-17 17:59:53 -04:00
Branislav Brzak 0b4e9d98a1 SWDEV-441279 - Add hipMemsetD8Async test
Change-Id: Ibcdb2098c45db440c79151b4d7dad6734b16222a


[ROCm/hip-tests commit: 3e945b10f1]
2024-09-13 17:30:26 +02:00
victzhan 0ec5e5aeca SWDEV-473011 - Rename hipMemcpy_old.cc to hipMemcpy_EdgeCases for readability.
Change-Id: I1634759aea340ecbb83fcc7c3328918147eeb0e9


[ROCm/hip-tests commit: 9d669b3bea]
2024-08-20 10:06:13 -04:00
Branislav Brzak 35782c04bc SWDEV-441285 - Add hipMemsetD32Async test
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0


[ROCm/hip-tests commit: 0c335250f9]
2024-08-12 06:43:50 -04:00
Branislav Brzak f2083ef57c SWDEV-441283 - Add hipMemsetD16Async test
Change-Id: I66ca44996cfbf061d134ba5c66c3a7211bfcaaa5


[ROCm/hip-tests commit: 987c4bb297]
2024-08-01 11:16:15 -04:00
Rambabu Swargam 5a3c71aaea SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f


[ROCm/hip-tests commit: 6c35a8cb95]
2024-07-31 12:06:23 -04:00
Manas Yendluri 97cb59fb66 SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoHAsync API
Change-Id: I9b195414c9c1f531cb9a532f496e0466eed23313


[ROCm/hip-tests commit: 090c4cdda6]
2024-07-22 12:07:57 -04:00
Manas Yendluri c0e0ca206b SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoD API
Change-Id: I632c92bab8b51aead983dfe4e51aaa1995626f12


[ROCm/hip-tests commit: fbe458618e]
2024-07-22 12:05:05 -04:00
Manas Yendluri 337ed10522 SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoA API
Change-Id: Iea35ffde87edf62f8536f4688be2cde669e07f6e


[ROCm/hip-tests commit: 526ec4bb59]
2024-07-22 11:52:24 -04:00
Satyanvesh Dittakavi 48fa72f9f4 SWDEV-460144 - Adds test with inline static variable used in different translation unit
Change-Id: I9d5c8109f7264cdf469361b983b7a940706379c2


[ROCm/hip-tests commit: aed0782ee6]
2024-07-15 14:22:26 -04:00
Rupam Chetia 6309c03274 SWDEV-311271 - [catch2][dtest] Adding test for mempool and stream ordered memory APIs
Change-Id: Iddeb111e4b512bfc7422abc8e784b0a8e8fb133d


[ROCm/hip-tests commit: 456001c308]
2024-06-18 00:22:49 -04:00
Vladana Stojiljkovic 2fb506a22c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe


[ROCm/hip-tests commit: dcb656301c]
2024-06-17 05:49:03 -04:00
Ioannis Assiouras 1a525cb854 SWDEV-464648 - code and comment cleanups
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736


[ROCm/hip-tests commit: 38f67d4a0b]
2024-06-12 00:34:10 -04:00
Branislav Brzak 2665777978 SWDEV-441280 - Add hipMemsetD16 test
Change-Id: I39b1b6d3ebb571c8f86e57a5b5f9057d197868ce


[ROCm/hip-tests commit: 96a076ea96]
2024-05-10 05:26:21 -04:00
Branislav Brzak 4036a8e388 SWDEV-441284 - Add hipMemsetD32 test
Change-Id: I7c26f73138eff0f9e090056f4721b35f4a6e8ef8


[ROCm/hip-tests commit: 19b8430f9d]
2024-05-06 08:08:23 -04:00
Yendluri, Manas f08adc6064 SWDEV-448562 - [catch2][dtest] Funtional and negative testcases for hipDrvMemcpy2DUnaligned API
Change-Id: I0761b9ecac39bf429cd7943a13bb77d8784b3524


[ROCm/hip-tests commit: f4697904ae]
2024-04-17 03:03:30 -04:00
taosang2 df2bcdb90f SWDEV-425830 - Add pcie atomic query in atomic tests
Add code to query pcie-atomics in atomic tests.
If pcie-atomics is not supported, skip the tests.
Enable the tests for Nvidia GPUs as well.

Change-Id: I7bfc8600511d78d8c73ab526f9846cd268651278


[ROCm/hip-tests commit: fafcad9162]
2024-03-19 20:15:06 -04:00
Ioannis Assiouras 9c4a971c5a SWDEV-433312 - Removed duplicate test cases
Change-Id: I606ba0c36cbe5ddf29358a6a733cb3f17aaf27e6


[ROCm/hip-tests commit: 440495dd0d]
2024-03-18 11:50:37 -04:00
Rupam Chetia ff6a16be9e SWDEV-436376 - [catch2][dtest] Adding new tests for hipMemcpyDeviceToDeviceNoCU
Change-Id: Ibe338af731a4f0e21d5c8def8ac125532b75969e


[ROCm/hip-tests commit: 0c11f5920f]
2024-03-12 14:11:49 -04:00
mbhiutra d5f76714e8 SWDEV-413161 - [catch2][dtest] hip directed catch2 with xnack+ test added for hipMemAdvise api for TstAlignedAllocMem
Change-Id: I51252dfff34f15467d56cefc920feb300868df13


[ROCm/hip-tests commit: 658123244a]
2024-03-08 12:23:59 -05: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 Halilcevic d439c6b986 EXSWHTEC-380 - Implement tests for Virtual Memory Management API functions #448
Change-Id: Ic766be69fddd0309f7ad4093465494cc14c7c70b


[ROCm/hip-tests commit: 00433d4f87]
2024-02-27 16:51:09 +05:30
Mirza Halilčević 29c22f1558 EXSWHTEC-348 - Implement tests for hipArrayGetInfo, hipArrayGetDescriptor, and hipArray3DGetDescriptor #428
Change-Id: I08a7c96c971f5ee82be4e69343600530a214a117


[ROCm/hip-tests commit: 39bd6bcac6]
2024-02-26 22:33:20 +05:30
Mirza Halilčević b186f5c6e1 EXSWHTEC-345 - Implement tests for hipPointerSetAttribute #427
Change-Id: I71e4eb3aab07eff8e24f54fa266a3971839501d1


[ROCm/hip-tests commit: 20a3811696]
2024-02-26 22:29:06 +05:30
Dino Music 35e66b0327 EXSWHTEC-289 - Implement tests for remainder and rounding device math functions #234
Change-Id: I8413cfeb0cbf32e2e8369c5b1527c9794a595688


[ROCm/hip-tests commit: 111497351d]
2024-02-23 20:46:17 +05:30
Mirza Halilčević 25263b8553 EXSWHTEC-102 - Implement tests for hipMemcpyParam2D APIs #54
Change-Id: Ieac4d5000915b80f579c8e5f72d8d072bde63ab9


[ROCm/hip-tests commit: 9a3fd8ec41]
2024-02-19 22:57:55 +05:30
Mirza Halilčević 836505f7b3 EXSWHTEC-97 - Implement tests for hipMemcpy2D APIs #53
Change-Id: I674741e641b1ebd6adb5c60c05c2d8ade27510c6


[ROCm/hip-tests commit: c9e664b8e6]
2024-02-19 22:57:30 +05:30
Nives Vukovic 7c8f7051a3 EXSWHTEC-35 - Implement tests for hipMallocAsync and hipMallocFromPoolAsync (#438)
Change-Id: I5cc2ec8078d0de3ddc447ba4bdca74a159f77b12


[ROCm/hip-tests commit: 54f0642d76]
2024-02-15 19:41:25 +05:30
Nives Vukovic 8e9b175205 EXSWHTEC-76 - Implement additional tests for Malloc/Free API (#49)
Change-Id: I9e2fd348e8c1d2bf63f82b90898863006ba90b62


[ROCm/hip-tests commit: 10594ecb3a]
2024-02-15 19:41:22 +05:30
Nives Vukovic a172f93cce EXSWHTEC-36 - Implement tests for basic hipMemPool APIs (#437)
Change-Id: Ice34feae7675699b04153d6fc3e10297428018b5


[ROCm/hip-tests commit: dbc1a9d073]
2024-02-15 19:39:31 +05:30
Nives Vukovic 246562089b EXSWHTEC-364 - Implement tests for hipMemPoolSetGetAccess and hipMemPoolSetGetAttribute APIs (#435)
Change-Id: I9a9bd22f99e2be60608d50fe649e92b3b267f655


[ROCm/hip-tests commit: 7ffbf7f76b]
2024-02-15 18:45:24 +05:30
SrinivasaRao 635c7e3bf1 SWDEV-396087 - [catch2][dtest] Functional test cases for the API hipArrayGetDescriptor
Change-Id: Ia400b7ce9a6eeb6f008cab13100fd10a86c5127f


[ROCm/hip-tests commit: 22fe5b7803]
2024-01-04 09:44:00 -05:00