Commit Graph

327 Commits

Author SHA1 Message Date
Satyanvesh Dittakavi 057328bc7f SWDEV-465073 - Enable hipClassKernel_Virtual test on Windows
The test is already updated earlier and now it can be
enabled as the compiler change is in mainline

Change-Id: I9bbf33adf766a0d6b11bfa18350e79cfe35dd324
2024-10-23 07:58:32 +00:00
Sebastian Luzynski eec4fec7d4 SWDEV-441598 - Add tests for hiprtcLinkDestroy
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Icb73543a72eaf1a0ee59b702c6f4bf5be7cbeb36
2024-10-18 04:06:31 -04:00
Ioannis Assiouras cf29cda0bd SWDEV-478472 - Disabled Unit_hipMallocArray_Negative_8bitFloat
Change-Id: I2d7f8ae8b2cae655904522d3acc20aa939080d1b
2024-10-01 09:54:14 +01:00
Rahul Manocha e3e662b52b SWDEV-468039 - Add Catch Test for fp8 OCP type conversions
Change-Id: I2648909483b8dc32fcd720c18608c5ca32399045
2024-09-25 12:00:52 -04:00
Jatin Chaudhary f62e3df454 SWDEV-411880 - Fix test device malloc
Unit_deviceAllocation_Malloc_ComplexDataType

Change-Id: I8d5c3a9c63e74ffc90ddf6b89729603236a88fcf
2024-09-24 14:45:40 -04:00
taosang2 352932738a SWDEV-476125 - Fix synchronization tests
Fix issues of
    Unit_cache_coherency_cpu_gpu
    Unit_cache_coherency_gpu_gpu
Enable them for all devices.

Change-Id: I19ba2084fdddd7b173edddb4e9c1b16cf7a97314
2024-09-24 14:39:57 -04:00
Rahul Manocha 4e99f68b03 [SWDEV-467733] - Set Cache Config Negative Param test fix
Change-Id: I058ca23a05e63aaaa54ea22e2b509593764cd7bc
2024-09-24 12:26:35 -04:00
Marko Arandjelovic 1621b7ad85 SWDEV-486448 - Disable the coalesced group tests due to too long execution
Change-Id: I4e91034c812319cef15c540078064e70ab5b5da6
2024-09-24 05:13:00 -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 0112ed5137 SWDEV-465206 - Enable Unit_hipModuleLaunchCooperativeKernel_Negative_Parameters
Change-Id: I35037f1b6cae5416b724499ac916ba1a70f9556e
2024-09-19 04:00:50 -04:00
Marko Arandjelovic 6867852a89 SWDEV-454656 Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic
Pitch cannot be lower then width

Change-Id: I929672fad4ca62d21ffd7bfec8bbc837e7bbcee2
2024-09-17 11:57:29 -04:00
kjayapra-amd 53c362295c SWDEV-470571 - Disabling fence tests wont work since fine grain mem is MTYPE_NC for gfx12.
Change-Id: I663d836d5ff17345ad0d4902f3d995dedb6070c4
2024-09-16 18:39:30 -04:00
Marko Arandjelovic a34ae6c8fc SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops
Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3
2024-09-13 14:49:36 -04:00
Marko Arandjelovic ad5b55a2c4 SWDEV-465204 - Fix Unit_hipModuleLaunchKernel_Negative_Parameters
Change-Id: I754d1835366f131f44d56da05ac24bc152cbfa47
2024-09-13 10:56:33 -04:00
Marko Arandjelovic 27be56f329 SWDEV-454659 - Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Negative_Parameters
Pitch cannot be lower then width

Change-Id: Ib42f036f1158b500ce8892643178469a2ec7dc88
2024-09-13 10:48:14 -04:00
Marko Arandjelovic 850511cc28 SWDEV-465196 - Fix coalesced_group tests
Change-Id: I4537e2351273d0c71ff62d34b5002fcb2ecd15e6
2024-09-13 04:29:02 -04:00
Rahul Manocha 5dc048b559 SWDEV-475482 - Disable Texture Object Tests to merge clr change
Change-Id: I821120cd3c9eba8abd1beeeee5e61246272243e6
2024-09-12 11:05:12 -04:00
Vladana Stojiljkovic bee0ba867d SWDEV-478472 - Disable tests to merge SWDEV-475987 on hipother
Change-Id: I58715144518a35954e29d89878465cfd41ccfe86
2024-09-04 12:25:04 -04:00
Rahul Manocha dc656c5dda [SWDEV-451646] - Enable Warp Vote Tests
Change-Id: Icb25cd695bc6f3ad9dd53cca45b9c32bf984bee7
2024-08-27 11:41:22 -04:00
Marko Arandjelovic d3f42460e8 SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974
2024-08-26 13:41:57 -04:00
Rahul Manocha 90bafb8ae8 [SWDEV-454315] - Fix for Atomic bitwise ops testcases
Change-Id: Ib402c6499ad9218fba89e78c8f91a87ca3537b35
2024-08-08 14:44:23 -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
Marko Arandjelovic be2ee3b52d SWDEV-454663 Initialize graph node in test setup
Change-Id: Iad44a2d3276e54c7a7d7e58af13e41ff305aa122
2024-07-31 14:45:08 -04:00
Jatin Chaudhary 8ed0c39549 SWDEV-460387 - Use traditional malloc instead of alloc guard
The LinearGuard does not seem to play well with the catch macros.
The entry to device pointers seem to be lost from memory map.

Change-Id: Ib8549052f18bcc847dea25cf268e2bcb59e24b25
2024-07-30 14:34:15 -04:00
taosang2 6edae64a1e SWDEV-469331 - Add data verifing after stream sync.
Add data verifing after hipStreamSynchronize() call.
Enable the following in Linux
  Unit_hipStreamBeginCaptureToGraph_CaptureDepGraph
  Unit_hipStreamBeginCaptureToGraph_IndepGraphsThreads
Remove REQUIRE() in data verifying because it generates
too many assertions and makes "-s" very slow

Change-Id: I0fbcdaa9ffb9633d861312c221ac12df1772c6e5
2024-07-30 11:50:16 -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
Rahul Manocha d391820895 [SWDEV-454655] - Fix for ExecMempcyNodeSetParams1D Negative testcase
Change-Id: Id24e27fee7a519edeed28bd937fb7ca31195de97
2024-07-25 14:37:59 -04:00
Rahul Manocha 615f95aa29 [SWDEV-445928] - Fix for hipDrvGetError tests
Change-Id: I19ba2084fddad7b073edc0b4e9c1b16cf7a97319
2024-07-23 15:22:28 -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
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
Sebastian Luzynski 1b5f5b05bc SWDEV-465141 - Fix Unit_RTC_LinkAddFile_Negative test failure
This test was failing due to the incorrect return vaulue assumption.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I88a18665a3be221157134f0855a814dba013e293
2024-07-15 11:48:46 -04:00
Jaydeep Patel 7e0296bf7b SWDEV-453487 - Enable Unit_hipModuleGetTexRef_Negative_Parameters.
Change-Id: Ib2edca88dd5176070c17ebc75fc019c055d22faa
2024-07-15 11:41:59 -04:00
Rahul Manocha 4f33714399 [SWDEV-468039] - Disable FP8 test to merge clr patch
Change-Id: I60314444bdbfaef1a5de0876144e8e1e2217fe40
2024-07-15 11:27:32 -04:00
Sebastian Luzynski 612fbfcf0b SWDEV-452864 - disable Unit_hiprtc_stdheaders test
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iee312683dcd83104f330214d4246bef08517000f
2024-07-11 05:07:08 -04:00
Vladana Stojiljkovic a3bc534a5f SWDEV-456699 - Fix Unit_hipDrvGraphAddMemcpyNode_Negative_Parameters test case
Change-Id: Ia27362115bbf0e96a7eac5a5ae21c2d504419bc8
2024-07-02 05:03:44 -04:00
Vladana Stojiljkovic ee9da46aab SWDEV-454667 - Fix Unit_hipGraphAddNodeTypeEventWait_Positive_Basic test case
Change-Id: I68c6ce4d0622a7bcc5908f2901c568cbaa18c448
2024-07-01 10:40:21 +02:00
Manas Yendluri 28d4034e22 SWDEV-454685 Enabling passing disabled testcase Unit_hipDrvGraphAddMemsetNode_hipMallocPitch_2D
Change-Id: I2886c2fdf4552059e417a4b905891baba36f393d
2024-06-21 00:05:08 -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
Rahul Manocha 6df445fef6 [SWDEV-438556][SWDEV-450826][SWDEV-449018] - Fix cooperative group catch tests
Change-Id: I553afe9c684b9ae60ce84231d7a5fbd6532a20e6
2024-06-17 17:22:26 -04:00
Rahul Manocha 23259fb1c6 [SWDEV-454661] - Test updates for memcpy direction change
Change-Id: I4065595f92abc101ce54fa587af874c1d6737033
2024-06-17 14:09:55 -04:00
Manas Yendluri cb8f7860c3 SWDEV-454686 Enabling passing disabled testcase Unit_hipDrvGraphAddMemsetNode_hipMallocPitch_1D
Change-Id: If897ca62e1bc6252f86c4113a8c7d303a8722346
2024-06-12 00:44:29 -04:00
Ioannis Assiouras d1dff962d7 SWDEV-455444 - Fixed Unit_AtomicBuiltins_Negative_Parameters_RTC
After compiler change atomic_compare_exchange{weak,strong} now checks the failure memory order
as well as the success memory order. As a result there is additional warnings from RTC compilation.
Modified Unit_AtomicBuiltins_Negative_Parameters_RTC unit test to reflect that.

Change-Id: I55f954f3a870b947d1df393207d19e5f7989ee80
2024-06-12 00:43:21 -04:00
Ioannis Assiouras 38f67d4a0b SWDEV-464648 - code and comment cleanups
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736
2024-06-12 00:34:10 -04:00
Rakesh Roy aee4042e09 SWDEV-1 - Disable randomly failing tests in Windows PSDB
- These tests are failing randomly in Windows PSDB

Change-Id: I1146d6184582a7100a5af25b52f9e02c6a160e49
2024-06-10 15:29:41 +05:30
Satyanvesh Dittakavi b0f777aaf6 SWDEV-465071- Disable hipClassKernel_Virtual due to compiler change
Change-Id: I221fde63f188e59995d99847b887b736dfedb78a
2024-06-07 11:38:08 -04:00
Rahul Manocha 60d5761167 [SWDEV-435667][SWDEV-453664] - Fix for Atomic Exchange Testcases
Change-Id: Ic2233ca962b8b5fc865433dbea630146931b5d92
2024-06-07 10:53:29 -04:00
Rahul Manocha b817121403 [SWDEV-445928] - hipPointerSetAttribute Test fix
Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64
2024-06-07 10:49:48 -04:00