Commit Graph

298 Commits

Author SHA1 Message Date
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
Ioannis Assiouras 38f67d4a0b SWDEV-464648 - code and comment cleanups
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736
2024-06-12 00:34:10 -04:00
Rahul Manocha b817121403 [SWDEV-445928] - hipPointerSetAttribute Test fix
Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64
2024-06-07 10:49:48 -04:00
Rahul Manocha b94242f015 [SWDEV-445928] - Check image support for mi300 tests
Change-Id: Idf820af3e55389740bebe35ed37bca52aca81eae
2024-06-07 10:32:20 -04:00
Anusha GodavarthySurya 08219b3d62 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpy2DFromArrayAsync internal API
Change-Id: Ia9cd34ad9d683404786dd2bcd7c138f7831449cc
2024-06-07 09:01:28 -04:00
Yendluri, Manas b052274496 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMemset3DAsync internal API
Change-Id: Ie9e7d537041d8eb74c3a6250d8abb31b9e42b649
2024-06-07 08:52:17 -04:00
master e0165e39ea SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpy2DAsync internal api
Change-Id: I63f6ed112f33df2957a05684e18d84bdb3b201b2
2024-06-06 14:25:13 -04:00
Yendluri, Manas 1f097b19a5 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpyDtoDAsync internal api
Change-Id: I5b22fdda0a80f5d110272e18cfb6995f8b84f04a
2024-06-06 14:20:40 -04:00
Yendluri, Manas 821dc1880a SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemset2DAsync internal API
Change-Id: Ia76dddda7281e08a7a3210786542301f00da0812
2024-06-06 14:18:27 -04:00
Yendluri, Manas 6125f90e67 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMempcyFromSymbolAsync capturehipMemcpyToSymbolAsync internal APIs
Change-Id: I8ade6f8f40e7a105792f07b1913a6b3fff477bd7
2024-06-06 14:15:51 -04:00
Yendluri, Manas 7c9f7737c0 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMempcyHtoDAsync capturehipMemcpyDtoHAsync internal APIs
Change-Id: I2604dddf1d120622d565a1b74c93550e27ace031
2024-06-06 13:59:57 -04:00
Sebastian Luzynski ea96f486ef SWDEV-456701 - Fix memcpy D2D test failure
This change improves the device to device memcpy test to not rely
on delay kernel. It uses blocking context instead.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I18090cb7febe806104a343acfd0bb535a96ae04d
2024-06-03 08:04:04 -04:00
shadi dashmiz db06a007c4 SWDEV-459352 - Correct dynamic array usage
Signed-off-by: shadi dashmiz <sdashmiz@amd.com>
Change-Id: I65b284daea4110bbcf788ffa990cbb7931835c16
2024-05-21 08:37:54 -04:00
Branislav Brzak 96a076ea96 SWDEV-441280 - Add hipMemsetD16 test
Change-Id: I39b1b6d3ebb571c8f86e57a5b5f9057d197868ce
2024-05-10 05:26:21 -04:00
Ioannis Assiouras 8189a006e6 SWDEV-437817 - Added unit test for failing hipMemCpy2D case
Change-Id: I31f1a51e61b8412ecbb14dbbce370929fd2b446c
2024-05-09 16:51:30 -04:00
Branislav Brzak 19b8430f9d SWDEV-441284 - Add hipMemsetD32 test
Change-Id: I7c26f73138eff0f9e090056f4721b35f4a6e8ef8
2024-05-06 08:08:23 -04:00