Граф коммитов

338 Коммитов

Автор SHA1 Сообщение Дата
Arandjelovic, Marko 563cb3112f SWDEV-499927 - Enable Virtual Memory tests on NV platform (#79)
[ROCm/hip-tests commit: dec3869d6d]
2025-05-13 00:21:38 +02:00
Xie, Pengda dd6d3a6cd3 SWDEV-514841 - Remove invalid stream tests on AMD platform
[ROCm/hip-tests commit: 0c1a7bf155]
2025-05-08 16:25:23 -07:00
Huang, AnZhong 035c860b2a SWDEV-527299 - Support HIP_POINTER_ATTRIBUTE_CONTEXT (#122)
Removed this verification, as HIP_POINTER_ATTRIBUTE_CONTEXT will be supported.

[ROCm/hip-tests commit: 2c800b120d]
2025-05-08 11:35:48 +05:30
Xie, Jiabao(Jimbo) 4ec606f1ee 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>

[ROCm/hip-tests commit: e25680e4d1]
2025-04-03 11:35:38 -04:00
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
German Andryeyev 86432880c6 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


[ROCm/hip-tests commit: 168312b97f]
2025-03-10 15:49:10 -04:00
Tao Sang a697edb15b 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


[ROCm/hip-tests commit: 94eea4db59]
2025-03-07 14:52:10 -05: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
Saleel Kudchadker 954c70ace8 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


[ROCm/hip-tests commit: d8f5c2560f]
2025-02-26 11:39:34 -05:00
Pengda Xie 272659ff99 SWDEV-514841 - Remove invalid stream tests which leads to segfault
Change-Id: I230c4ccc0d2f591cbf2cd0e019f910094f4f3f26


[ROCm/hip-tests commit: b46d6abdcb]
2025-02-21 12:08:36 +00:00
Tao Sang 2ad61701d5 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


[ROCm/hip-tests commit: 8ea926725b]
2025-02-13 13:37:36 -05:00
Vladana Stojiljkovic 08e2b6a15d SWDEV-486969 - Reuse existing tests to verify behavior of capturing sync Memcpy APis
Change-Id: I7e94743d6957ffaadae9cff297e3f0d93f9ff806


[ROCm/hip-tests commit: 6c5468f802]
2025-01-26 07:56:32 -05:00
Tao Sang 2d122ae751 SWDEV-506090 - Fix Unit_hipMemAdvise_TstAlignedAllocMem
Change-Id: I651c25f011d24d0190c62586722b81ddc580655f


[ROCm/hip-tests commit: 5f2992a546]
2025-01-24 13:16:27 -05:00
Marko Arandjelovic 719600ccc4 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


[ROCm/hip-tests commit: 3809d1bb75]
2025-01-22 10:54:18 -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
Rambabu Swargam 415bd0878b SWDEV-493295 - [catch2][dtest] Adding additional tests for hipMalloc
Change-Id: I600e77ac5d07d169c34090041d2663741f3d4882


[ROCm/hip-tests commit: 274fb5d974]
2025-01-16 11:23:06 -05:00
taosang2 b543624e2c SWDEV-438503 - Enable unified memory test
Change-Id: I7bfc8600521d78d8c73ab626f9846cd268651279


[ROCm/hip-tests commit: 22485fc93f]
2025-01-13 13:49:55 -05:00
Jaydeep Patel 62c5a23f78 SWDEV-497532 - Pass correct stream to MemcpyDeviceToDeviceShell to sync.
Change-Id: I7fe2b39e49725d01e7d9ec5b4ab9927a96dc951c


[ROCm/hip-tests commit: eb894a8b8d]
2025-01-13 10:40:23 -05:00
Jaydeep Patel 2253b82046 SWDEV-504960 - Check image support.
Change-Id: Ieda106374eb066cd20ddd1194a9f9b1352c26d05


[ROCm/hip-tests commit: a7dd22f97f]
2024-12-23 01:17:02 -05:00
Rambabu Swargam 6c7ed09ca0 SWDEV-490555 - [catch2][dtest] Additional tests for hipMemcpyDtoA and hipMemcpy2DArrayToArray
Change-Id: Icd0e4c35cc0cf60f2e943c4f4da39de23a8c1e5b


[ROCm/hip-tests commit: 92b717da81]
2024-12-16 12:13:01 -05:00
Marko Arandjelovic fe9860bd47 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


[ROCm/hip-tests commit: 9cffda4ebb]
2024-12-10 10:25:08 -05:00
SrinivasaRao 5ba5ca2934 SWDEV-490555-[catch2][dtest] Functional tests for the API hipMemcpyHtoAAsync
Change-Id: I927e0907e2e2fb8316151da5b3a5ba23835412e8


[ROCm/hip-tests commit: 16c33198ba]
2024-12-09 13:49:05 -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
Ioannis Assiouras 569a4cac67 SWDEV-500124 - Removed Unit_hipHostAlloc_AllocateUseMoreThanAvailGPUMemory
Change-Id: I549ec451df2211378f421f35abc822d02cb0af24


[ROCm/hip-tests commit: ab395147d2]
2024-11-22 13:20:50 -05:00
Pradeep Kumar Jain 9592dfe6f1 SWDEV-468258 - [catch2][dtest] hipHostAlloc API testcases
Change-Id: I04974538092ae90501f7fa90dcad09c482b1ef64


[ROCm/hip-tests commit: 33cbbc8700]
2024-11-14 23:50: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
Vladana Stojiljkovic 5e41c48966 SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown
Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8


[ROCm/hip-tests commit: 5fa9900949]
2024-11-04 11:25:54 -05:00
Jaydeep Patel 9e080a303c SWDEV-483355 - hipDrvMemcpy2DUnaligned is not supported for inter GPU copy without p2p access.
Change-Id: Ie484efc5779b139e5ca2d504342fb49edfb6b30c


[ROCm/hip-tests commit: 7aff6567b7]
2024-11-04 11:23:39 -05:00
Jaydeep Patel c442ee3990 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


[ROCm/hip-tests commit: 067e3836ee]
2024-11-04 11:18:58 -05:00
Li, Todd tiantuo 149d95ec0c SWDEV-472357 - fix 1D, 2D and 3D memCpy tests
on sync, stream and setDevice

Change-Id: I19bdb907977338cac67c1e3f6f01cda6f2b97ec6


[ROCm/hip-tests commit: 9e30678987]
2024-11-04 11:12:52 -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
Rahul Manocha 6470a57dac SWDEV-474617 - Add Peer Device access check for memcpy2D tests and fix for SVM Memory test.
Change-Id: Idff7c02087f99c59f456e0027bbe0bc19cf67059


[ROCm/hip-tests commit: 8b15996041]
2024-10-23 14:26:02 -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
Todd tiantuo Li bc7d1d9144 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


[ROCm/hip-tests commit: d1d8b1e08e]
2024-10-23 10:54:34 -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
taosang2 4b0437de28 SWDEV-482059 SWDEV-476745 - Add image support check
Add image support check before hipMallocArray().

Change-Id: I9efed88d791ee1b2b4465286b3341b821f7bf628


[ROCm/hip-tests commit: b4694a6bab]
2024-10-09 11:29:28 -04:00
Marko Arandjelovic a52b3a0e52 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


[ROCm/hip-tests commit: e35cc19aaf]
2024-09-23 14:55:23 -04:00
Marko Arandjelovic e2eae18569 SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops
Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3


[ROCm/hip-tests commit: a34ae6c8fc]
2024-09-13 14:49:36 -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
Vladana Stojiljkovic e057b9e471 SWDEV-450735 - Add compiler option for using clock64
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627


[ROCm/hip-tests commit: 5b67a2a4a0]
2024-08-29 10:26:11 +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