Commit Graph

313 Commits

Author SHA1 Message Date
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
Satyanvesh Dittakavi 08f9020343 SWDEV-465152 - Fix and enable the test Unit_hipMemAdvise_AccessedBy_All_Devices
Change-Id: I160d67898898251e3aad7f3b58fe4f60e4186ea8
2024-08-07 14:19:35 -04:00
Rakesh Roy 3bec5e988b SWDEV-472723 - Correct file format
- Modify line ending to LF

Change-Id: I2bc840070327b204e2abb118276e2d905c29d096
2024-08-05 19:26:31 +05:30
Marko Arandjelovic 639a9c2996 SWDEV-441603 - Add hipDrvMemcpy2DUnaligned test
Change-Id: I44b65867cabeb369fda8a82984fe3f694499942c
2024-08-01 17:44:26 -04:00
Julia Jiang 5d042c80fa SWDEV-472723 - Correct file format and remove trailing spaces
Change-Id: Ie40c763e9391fa36d6c890cd0a171659a1502a83
2024-08-01 15:17:39 -04:00
Branislav Brzak 987c4bb297 SWDEV-441283 - Add hipMemsetD16Async test
Change-Id: I66ca44996cfbf061d134ba5c66c3a7211bfcaaa5
2024-08-01 11:16:15 -04:00
Marko Arandjelovic 12a5d4c24c SWDEV-461794 Fix Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
- Fixed wrong assumptions in the test:
   - Pinned Host memory to Pinned Host memory is async (before:sync)
   - Pinned Host memory to Device is async (before:sync)

Change-Id: Ib826e177854cbcdad04181e245382cf0bec02c46
2024-07-31 14:50:12 -04:00
Rambabu Swargam 6c35a8cb95 SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f
2024-07-31 12:06:23 -04:00
Rahul Manocha e835edcbab [SWDEV-456769][SWDEV-456770] - Fix for Memcpy2D Async and Positive Sync tests
Change-Id: I586d7f75d26ada1609156054e921f05b878e8503
2024-07-25 14:41:10 -04:00
Marko Arandjelovic a9b0e656e2 SWDEV-456702 Fix Unit_hipMemcpyParam2D_Positive_Synchronization_Behavior
- Device to device copies are async

Change-Id: I9673710adf00e5f5b36739284090df22a1cb2cd8
2024-07-23 14:23:42 -04:00
Rahul Manocha 196953a148 [SWDEV-468537] - Add check for image support for memcpy tests
Change-Id: Idc1fcf9256f1d6bc44d687271016c106d41f6ca1
2024-07-22 12:16:56 -04:00
Rahul Manocha 810489ee3b [SWDEV-468555] - Fix hipMemGetAddressRange Negative test
Change-Id: I1dd195f3d1deaf90d86afdd17cac687220f53a0c
2024-07-22 12:15:25 -04:00
Manas Yendluri 090c4cdda6 SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoHAsync API
Change-Id: I9b195414c9c1f531cb9a532f496e0466eed23313
2024-07-22 12:07:57 -04:00
Manas Yendluri fbe458618e SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoD API
Change-Id: I632c92bab8b51aead983dfe4e51aaa1995626f12
2024-07-22 12:05:05 -04:00
Manas Yendluri 526ec4bb59 SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoA API
Change-Id: Iea35ffde87edf62f8536f4688be2cde669e07f6e
2024-07-22 11:52:24 -04:00
Ioannis Assiouras 3acc6a4020 SWDEV-466622 - Added fix for Unit_hipMallocArray_happy test
Change-Id: I9b647aff69ba92f97b2ca17eac49d58ae63fa858
2024-07-16 14:52:51 -04:00
taosang2 de9581efb6 SWDEV-465162 - Support ignored error
Modified
TestContext::finalizeResults()

Added
HIP_CHECK_IGNORED_RETURN()
HIP_CHECK_ERRORS()

to supported ignored error such as hipErrorNotSupported.

Enable all mipmap tests in catch2 memory folder for linux.
The issues in the following tickets should be fixed.
SWDEV-465162, SWDEV-465163, SWDEV-465165, SWDEV-465166,
SWDEV-465168, SWDEV-465171, SWDEV-465172

Change-Id: I1146d6184582a7111a5af25b52f9e12c6a160e49
2024-07-16 14:44:06 -04:00
Satyanvesh Dittakavi aed0782ee6 SWDEV-460144 - Adds test with inline static variable used in different translation unit
Change-Id: I9d5c8109f7264cdf469361b983b7a940706379c2
2024-07-15 14:22:26 -04:00
Anusha GodavarthySurya daba7f6f80 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipFreeAsync internal API
Change-Id: I0e6fab330b9d91558842c6c81215bcec42c07220
2024-07-15 11:06:49 -04:00
Todd tiantuo Li 4163c69fdc SWDEV-448894 - Correct and align peer access related behavior for memcpy tests
Change-Id: I31379836f9066a6b317efc26678302261e4c7a1b
2024-06-26 16:05:28 -04:00
Rahul Manocha cc703e501c [SWDEV-445928] - hipMemAdvise XNACK test fix
Change-Id: Ibc6d57b513269d33b611b0f62e02bbc4bfebe0a1
2024-06-18 15:41:30 -04:00
Rupam Chetia 456001c308 SWDEV-311271 - [catch2][dtest] Adding test for mempool and stream ordered memory APIs
Change-Id: Iddeb111e4b512bfc7422abc8e784b0a8e8fb133d
2024-06-18 00:22:49 -04:00
Vladana Stojiljkovic dcb656301c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe
2024-06-17 05:49:03 -04:00