Xie, Jiabao(Jimbo)
e25680e4d1
SWDEV-501675 - disable Unit_hipMalloc_AllocateMoreThanTotalRAM ( #63 )
...
Unit_hipMalloc_AllocateMoreThanTotalRAM is an invalid test. hipMalloc is able to allocate more than RAM size if VRam is larger, unless the test is meant to only allocate on host device.
Previously this test may have passed because of an incorrect check on hipMalloc limit: we had incorrectly limited allocation to physical ram size. This is no longer correct. We could always allocate Vram limit or sometimes system ram limit if Vram is full, fixed in https://github.com/AMD-ROCm-Internal/clr/pull/122
Co-authored-by: Jimbo Xie <jiabaxie@amd.com >
2025-04-03 11:35:38 -04:00
Brzak, Branislav
902988494e
SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941 ( #30 )
2025-03-19 15:42:18 +01:00
German Andryeyev
168312b97f
SWDEV-497841 - Change the validation condition
...
The test wrongly assumed that the reserved memory should always
be equal to the allocation size. However, suballocations are possible
Change-Id: I1d1f3c3cdb231188f8b35ed64ffe4e2a3a2f16f9
2025-03-10 15:49:10 -04:00
Tao Sang
94eea4db59
SWDEV-505853 - Fix Unit_hipMemPoolApi_BasicAlloc in mgpu
...
Unit_hipMemPoolApi_BasicAlloc expects to work on device 0, but other
tests will set not-0 devices in mgpu. This leads to hang of
Unit_hipMemPoolApi_BasicAlloc. Fix by set device 0 in head code
of Unit_hipMemPoolApi_BasicAlloc.
SWDEV-508872 - Fix Perf_hipPerfMemFill_test
When mem size is 2G, the test is so slow that it looks like stuckness.
Set top mem size to 1G can make the test pass in an acceptiable time.
Change-Id: Ie26dbf597e5ba8cb898d1aae5ed5ecf0267c3228
2025-03-07 14:52:10 -05:00
taosang2
1a7df073ba
SWDEV-501963 - Add missing codes for gfx950
...
Change-Id: I6b3c6bf54c61cffd44cd6f17b75998f751b75724
2025-03-05 08:18:22 -05:00
Saleel Kudchadker
d8f5c2560f
SWDEV-515407 - Fix incorrect test behavior
...
- For H2D transfer cases, we cannot enfore ErrorNotReady behavior if the
source is unpinned. In that case the driver can sync depending on if
it pins or stages the source buffer.
Change-Id: I436a4b667bff172cfbadc58631a46a215c40fcb1
2025-02-26 11:39:34 -05:00
Pengda Xie
b46d6abdcb
SWDEV-514841 - Remove invalid stream tests which leads to segfault
...
Change-Id: I230c4ccc0d2f591cbf2cd0e019f910094f4f3f26
2025-02-21 12:08:36 +00:00
Tao Sang
8ea926725b
SWDEV-503359 - Fix Unit_hipExtMallocWithFlags_CoherentTst
...
Fix Unit_hipExtMallocWithFlags_CoherentTst hang on device fine
grain access memory because host builtin atomic functions malfunctions
on it.
Fix SWDEV-507938 also.
Change-Id: Ie26dbf6b7e5aa8cb898d11ae5ed5ecf1267c3228
2025-02-13 13:37:36 -05:00
Vladana Stojiljkovic
6c5468f802
SWDEV-486969 - Reuse existing tests to verify behavior of capturing sync Memcpy APis
...
Change-Id: I7e94743d6957ffaadae9cff297e3f0d93f9ff806
2025-01-26 07:56:32 -05:00
Tao Sang
5f2992a546
SWDEV-506090 - Fix Unit_hipMemAdvise_TstAlignedAllocMem
...
Change-Id: I651c25f011d24d0190c62586722b81ddc580655f
2025-01-24 13:16:27 -05:00
Marko Arandjelovic
3809d1bb75
SWDEV-489617 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
...
- Since any-host-to-any-host as always synchronous, there's no need for
separate functions
- Removed 'return' statement as it skips the rest of the test.
Change-Id: If70e0b21ad8151311d5ac7c5de789f6265cf44b6
2025-01-22 10:54:18 -05:00
Rambabu Swargam
7fb9301d6b
SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 2
...
Change-Id: I4619f8e69b75d1193e98adce2707bf7876b1ba59
2025-01-21 12:53:28 -05:00
Rambabu Swargam
274fb5d974
SWDEV-493295 - [catch2][dtest] Adding additional tests for hipMalloc
...
Change-Id: I600e77ac5d07d169c34090041d2663741f3d4882
2025-01-16 11:23:06 -05:00
taosang2
22485fc93f
SWDEV-438503 - Enable unified memory test
...
Change-Id: I7bfc8600521d78d8c73ab626f9846cd268651279
2025-01-13 13:49:55 -05:00
Jaydeep Patel
eb894a8b8d
SWDEV-497532 - Pass correct stream to MemcpyDeviceToDeviceShell to sync.
...
Change-Id: I7fe2b39e49725d01e7d9ec5b4ab9927a96dc951c
2025-01-13 10:40:23 -05:00
Jaydeep Patel
a7dd22f97f
SWDEV-504960 - Check image support.
...
Change-Id: Ieda106374eb066cd20ddd1194a9f9b1352c26d05
2024-12-23 01:17:02 -05:00
Rambabu Swargam
92b717da81
SWDEV-490555 - [catch2][dtest] Additional tests for hipMemcpyDtoA and hipMemcpy2DArrayToArray
...
Change-Id: Icd0e4c35cc0cf60f2e943c4f4da39de23a8c1e5b
2024-12-16 12:13:01 -05:00
Marko Arandjelovic
9cffda4ebb
SWDEV-485763 - Fix memory leaks in various unit tests
...
Fix memory leaks by adding missing destroy calls for
events, streams, and graphs at the end of tests.
Ensure that every test case executes destroy calls,
regardless of whether it passes or fails.
Change-Id: I814e35c528d90ed2abb34d77377f1a7fd3f1f11c
2024-12-10 10:25:08 -05:00
SrinivasaRao
16c33198ba
SWDEV-490555-[catch2][dtest] Functional tests for the API hipMemcpyHtoAAsync
...
Change-Id: I927e0907e2e2fb8316151da5b3a5ba23835412e8
2024-12-09 13:49:05 -05:00
Satyanvesh Dittakavi
d5028f0c2a
SWDEV-485372 - Fix texture catch tests to run on appropriate ASICs
...
Change-Id: I9ef93e37eb29c3d09c6448fe95dba39fa7060464
2024-12-09 10:35:43 -05:00
Marko Arandjelovic
8736cabea3
SWDEV-478998 - Add unit test for hipFreeHost
...
Change-Id: I85235243e0014ec6bd2b6a544222fdee8f0a7c68
2024-12-04 11:56:44 -05:00
Ioannis Assiouras
ab395147d2
SWDEV-500124 - Removed Unit_hipHostAlloc_AllocateUseMoreThanAvailGPUMemory
...
Change-Id: I549ec451df2211378f421f35abc822d02cb0af24
2024-11-22 13:20:50 -05:00
Pradeep Kumar Jain
33cbbc8700
SWDEV-468258 - [catch2][dtest] hipHostAlloc API testcases
...
Change-Id: I04974538092ae90501f7fa90dcad09c482b1ef64
2024-11-14 23:50:44 -05:00
Michael Xie
72450ae7a1
SWDEV-492356 - Install hip-test artifacts into a single folder
...
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d
2024-11-13 18:22:32 -05:00
Ioannis Assiouras
b2e3b605a6
SWDEV-483134 - Removed hipExtHostAlloc tests
...
Change-Id: Ifb938ad6d8382cfe25d531e5e36c5a4df986d940
2024-11-06 11:28:37 -05:00
Vladana Stojiljkovic
558cbfd829
SWDEV-479312 - Implement tests for hipMemcpy2DArrayToArray
...
Change-Id: Id42557aefa0a887799402503c8905ee4cd322629
2024-11-05 04:06:26 -05:00
Marko Arandjelovic
04ad40156c
SWDEV-478801 - Add unit test for hipMemcpyDtoA
...
Change-Id: Ia0f606294574c43b5e84438a33eda4c43bd0acbc
2024-11-05 02:40:33 -05:00
Marko Arandjelovic
003707116b
SWDEV-479213 - Add unit test for hipMemcpyHtoAAsync
...
Change-Id: I698eb2f7b73db439c1082ef79e2e5b5462e8fd1e
2024-11-04 12:43:54 -05:00
Vladana Stojiljkovic
5fa9900949
SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown
...
Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8
2024-11-04 11:25:54 -05:00
Jaydeep Patel
7aff6567b7
SWDEV-483355 - hipDrvMemcpy2DUnaligned is not supported for inter GPU copy without p2p access.
...
Change-Id: Ie484efc5779b139e5ca2d504342fb49edfb6b30c
2024-11-04 11:23:39 -05:00
Jaydeep Patel
067e3836ee
SWDEV-479616 - hipMemcpyParam2D and hipMemcpy2D does not support inter gpu copy without p2p access.
...
Skip Unit_hipGetProcAddress_MemoryApisPeerToPeer if p2p access is not supported.
Change-Id: I9f8598b9d1edf1d189583c5600b2e4d937564ea4
2024-11-04 11:18:58 -05:00
Li, Todd tiantuo
9e30678987
SWDEV-472357 - fix 1D, 2D and 3D memCpy tests
...
on sync, stream and setDevice
Change-Id: I19bdb907977338cac67c1e3f6f01cda6f2b97ec6
2024-11-04 11:12:52 -05:00
Marko Arandjelovic
a13da7ba02
SWDEV-476486 - Add unit test for hipMemAllocHost
...
Change-Id: Ie77686b4e2a269b845b3187f27281a5a855bd731
2024-11-04 05:12:05 -05:00
Ajay
61f3be259a
SWDEV-1 - exclude hipExtHostAlloc.cc from nvidia test list
...
Change-Id: I31644cbf446f057af82235dccc54202ad3e81428
2024-10-29 11:23:04 -04:00
Ioannis Assiouras
359aed1348
SWDEV-480400 - Add unit test for hipExtHostAlloc
...
Change-Id: Ica92d1ae91bdc4feef52b7b07d55da4dff8d7542
2024-10-25 11:51:42 -04:00
Rahul Manocha
8b15996041
SWDEV-474617 - Add Peer Device access check for memcpy2D tests and fix for SVM Memory test.
...
Change-Id: Idff7c02087f99c59f456e0027bbe0bc19cf67059
2024-10-23 14:26:02 -04:00
Marko Arandjelovic
56ef43810b
SWDEV-475749 - Add unit test for hipMallocHost
...
Change-Id: I0e94342ba68c12f64ac94a04a46f1c478e6f01be
2024-10-23 14:05:33 -04:00
Todd tiantuo Li
d1d8b1e08e
SWDEV-448894 - Fix hipMemcpyDtoD and hipMemcpyDtoDAsync tests
...
1.Test staging buffer copy when there is no P2P capabilities
2.Enable PeerAccess correctly for P2P copy
Change-Id: Ic0b75a60c8a763f3cfe68fbd92656fbfb4c207bc
2024-10-23 10:54:34 -04:00
Rupam Chetia
9fd38dd3e1
SWDEV-471105 - [catch2][dtest] Adding functional tests for hipMemPoolExportToShareableHandle, hipMemPoolExportPointer, hipMemPoolImportFromShareableHandle and hipMemPoolImportPointer
...
Change-Id: Ief0f0d7f4c05d741e49eaffa54f11338c4bdc30f
2024-10-23 02:45:00 -04:00
Marko Arandjelovic
bac782e398
SWDEV-441278 - Add hipHostFree test
...
Change-Id: Ibb78f3d36aa35bf75329adf65f19da5977a965f3
2024-10-23 01:04:44 -04:00
Marko Arandjelovic
b0943c82ca
SWDEV-475688 - Add unit test for hipHostAlloc
...
Change-Id: Id414d16651529983674b4f90391e0913feab0440
2024-10-17 17:59:53 -04:00
taosang2
b4694a6bab
SWDEV-482059 SWDEV-476745 - Add image support check
...
Add image support check before hipMallocArray().
Change-Id: I9efed88d791ee1b2b4465286b3341b821f7bf628
2024-10-09 11:29:28 -04:00
Marko Arandjelovic
e35cc19aaf
SWDEV-465148 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
...
- For transfers from any host memory to any host memory,
the function is fully synchronous with respect to the host.
Change-Id: Ie1cb3e136334af320d2596460faed58fcb714b83
2024-09-23 14:55:23 -04:00
Marko Arandjelovic
a34ae6c8fc
SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops
...
Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3
2024-09-13 14:49:36 -04:00
Branislav Brzak
3e945b10f1
SWDEV-441279 - Add hipMemsetD8Async test
...
Change-Id: Ibcdb2098c45db440c79151b4d7dad6734b16222a
2024-09-13 17:30:26 +02:00
Vladana Stojiljkovic
5b67a2a4a0
SWDEV-450735 - Add compiler option for using clock64
...
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02:00
victzhan
9d669b3bea
SWDEV-473011 - Rename hipMemcpy_old.cc to hipMemcpy_EdgeCases for readability.
...
Change-Id: I1634759aea340ecbb83fcc7c3328918147eeb0e9
2024-08-20 10:06:13 -04:00
Rakesh Roy
9ec381b401
SWDEV-472723 - Correct file format
...
- Change line ending from CRLF to LF
Change-Id: Ie75e4bd3c7d58532bc986ec61476ee6f9c5f1f95
2024-08-13 13:39:48 +05:30
Branislav Brzak
0c335250f9
SWDEV-441285 - Add hipMemsetD32Async test
...
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0
2024-08-12 06:43:50 -04:00
Todd tiantuo Li
0ee0e4ab4a
SWDEV-432490 - fix __HIP_NO_IMAGE_SUPPORT logic
...
1.Skip texture/image tests when __HIP_NO_IMAGE_SUPPORT is set to prevent inevitable silent failure
2.Simplify __HIP_NO_IMAGE_SUPPORT macros
Change-Id: I54ef12a239298c534a213edf39c05c2dad06a7f4
2024-08-08 14:15:38 -04:00