Commit Graph

864 Commits

Author SHA1 Message Date
Marko Arandjelovic fb7d2b3d06 SWDEV-454663 Initialize graph node in test setup
Change-Id: Iad44a2d3276e54c7a7d7e58af13e41ff305aa122


[ROCm/hip-tests commit: be2ee3b52d]
2024-07-31 14:45:08 -04:00
Rambabu Swargam 5a3c71aaea SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f


[ROCm/hip-tests commit: 6c35a8cb95]
2024-07-31 12:06:23 -04:00
Jatin Chaudhary b1f4db2de8 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


[ROCm/hip-tests commit: 8ed0c39549]
2024-07-30 14:34:15 -04:00
Tao Sang d32df0957c SWDEV-467540 - Verify awaitCompletion()
Update the existing test case to verify
awaitCompletion() for unfinished command.

Change-Id: I0fbcdba9ffb8633d861312c221ac12df1772c6e6


[ROCm/hip-tests commit: 3e0b749b76]
2024-07-30 14:29:35 -04:00
taosang2 2a9aa0a14c 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


[ROCm/hip-tests commit: 6edae64a1e]
2024-07-30 11:50:16 -04:00
Jatin Chaudhary f6a7bc10c5 SWDEV-460834 - tests for unsafe atomics bf16 and fp16
Change-Id: I9175674ecb17f9fc2efb49ecd57d85776a4217c5


[ROCm/hip-tests commit: fcc268e56f]
2024-07-30 11:43:32 -04:00
Jatin Chaudhary 44bd78c21f SWDEV-450109 - add sanity tests for cg functions
Change-Id: If54be97c07502beaaf068fdc249758931dfa5abf


[ROCm/hip-tests commit: 5293b1a3a5]
2024-07-30 11:23:56 -04:00
Rahul Manocha 4c141761f6 [SWDEV-456769][SWDEV-456770] - Fix for Memcpy2D Async and Positive Sync tests
Change-Id: I586d7f75d26ada1609156054e921f05b878e8503


[ROCm/hip-tests commit: e835edcbab]
2024-07-25 14:41:10 -04:00
Rahul Manocha 2811e8e349 [SWDEV-454655] - Fix for ExecMempcyNodeSetParams1D Negative testcase
Change-Id: Id24e27fee7a519edeed28bd937fb7ca31195de97


[ROCm/hip-tests commit: d391820895]
2024-07-25 14:37:59 -04:00
Rahul Manocha f955b61fb0 [SWDEV-445928] - Fix for hipDrvGetError tests
Change-Id: I19ba2084fddad7b073edc0b4e9c1b16cf7a97319


[ROCm/hip-tests commit: 615f95aa29]
2024-07-23 15:22:28 -04:00
Marko Arandjelovic 5d08eb6217 SWDEV-456702 Fix Unit_hipMemcpyParam2D_Positive_Synchronization_Behavior
- Device to device copies are async

Change-Id: I9673710adf00e5f5b36739284090df22a1cb2cd8


[ROCm/hip-tests commit: a9b0e656e2]
2024-07-23 14:23:42 -04:00
Rahul Manocha 37b1ec0333 [SWDEV-468039] - Remove fp8 catch test source from cmake
Change-Id: Ibf8c95b11187d16da5594921aac8c467f91994f0


[ROCm/hip-tests commit: 331410fcb8]
2024-07-23 11:35:08 -04:00
Satyanvesh Dittakavi bf26f1d052 SWDEV-469387 - Fix and enable the test Unit_hipWallClock64_Positive_Basic
Change-Id: I0a6802619e18967da574a610efef8412449bab41


[ROCm/hip-tests commit: 3f28dd3b08]
2024-07-23 10:06:37 -04:00
SrinivasaRao 1a64c01c7b SWDEV-227201-[catch2][dtest] Printf tests porting from HIT to Catch2
Change-Id: Ife4690ec77c14516a75a9dc4e8421cfe18fe6216


[ROCm/hip-tests commit: ca05a3e1eb]
2024-07-22 12:25:39 -04:00
Rahul Manocha bf1b8a7c6b [SWDEV-468537] - Add check for image support for memcpy tests
Change-Id: Idc1fcf9256f1d6bc44d687271016c106d41f6ca1


[ROCm/hip-tests commit: 196953a148]
2024-07-22 12:16:56 -04:00
Rahul Manocha f4dc733590 [SWDEV-468555] - Fix hipMemGetAddressRange Negative test
Change-Id: I1dd195f3d1deaf90d86afdd17cac687220f53a0c


[ROCm/hip-tests commit: 810489ee3b]
2024-07-22 12:15:25 -04:00
Manas Yendluri 97cb59fb66 SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoHAsync API
Change-Id: I9b195414c9c1f531cb9a532f496e0466eed23313


[ROCm/hip-tests commit: 090c4cdda6]
2024-07-22 12:07:57 -04:00
Manas Yendluri c0e0ca206b SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoD API
Change-Id: I632c92bab8b51aead983dfe4e51aaa1995626f12


[ROCm/hip-tests commit: fbe458618e]
2024-07-22 12:05:05 -04:00
Manas Yendluri 337ed10522 SWDEV-458787 - [catch2][dtest] Basic functional testcase for hipMemcpyAtoA API
Change-Id: Iea35ffde87edf62f8536f4688be2cde669e07f6e


[ROCm/hip-tests commit: 526ec4bb59]
2024-07-22 11:52:24 -04:00
Ioannis Assiouras 7ed657c2af SWDEV-474159 - Query max LDS in Unit_hipDynamicShared
Change-Id: Ie78613ea1a87d69aff4f764368ea7a1893e021f5


[ROCm/hip-tests commit: 5e26ec0bb1]
2024-07-17 22:17:20 +01:00
Ioannis Assiouras a6afaec892 SWDEV-466622 - Added fix for Unit_hipMallocArray_happy test
Change-Id: I9b647aff69ba92f97b2ca17eac49d58ae63fa858


[ROCm/hip-tests commit: 3acc6a4020]
2024-07-16 14:52:51 -04:00
SrinivasaRao 274601814c SWDEV-409793 - [catch2][dtest] Expanding the hipRTC coveage for the header hip_bfloat16.h
Change-Id: I92b62f05276f58bb8ad4afec9e03180de3b43e71


[ROCm/hip-tests commit: 59471ab86b]
2024-07-16 14:49:23 -04:00
taosang2 b3d203d19b 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


[ROCm/hip-tests commit: de9581efb6]
2024-07-16 14:44:06 -04:00
Branislav Brzak 402fffac2b SWDEV-465159 - Only compile mipmap tests on Windows
Mipmap APIs are not supported on Linux

Change-Id: I1aedfbd61c282cc0b93edfab1fab75ef6357a136


[ROCm/hip-tests commit: bcd3665ea9]
2024-07-16 05:01:07 -04:00
Satyanvesh Dittakavi 48fa72f9f4 SWDEV-460144 - Adds test with inline static variable used in different translation unit
Change-Id: I9d5c8109f7264cdf469361b983b7a940706379c2


[ROCm/hip-tests commit: aed0782ee6]
2024-07-15 14:22:26 -04:00
Sebastian Luzynski 2ca5a8e73c 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


[ROCm/hip-tests commit: 1b5f5b05bc]
2024-07-15 11:48:46 -04:00
Rupam Chetia f64dd272c8 SWDEV-435750 - [catch2][dtest] Adding test case for using auto for kernel variables
Change-Id: Ifa6ba4db474903b70c00b531515b9fb74d312718


[ROCm/hip-tests commit: 4d8a36a0ef]
2024-07-15 11:08:06 -04:00
Anusha GodavarthySurya 230112da44 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipFreeAsync internal API
Change-Id: I0e6fab330b9d91558842c6c81215bcec42c07220


[ROCm/hip-tests commit: daba7f6f80]
2024-07-15 11:06:49 -04:00
Vladana Stojiljkovic 7ff2cb905b SWDEV-441595 - Add hipSetupArgument test
Change-Id: I54aa28416986fd000ce0d238074d291d64c861cd


[ROCm/hip-tests commit: 43ce72334c]
2024-07-11 14:32:33 -04:00
Sebastian Luzynski 18dea076f2 SWDEV-452864 - disable Unit_hiprtc_stdheaders test
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iee312683dcd83104f330214d4246bef08517000f


[ROCm/hip-tests commit: 612fbfcf0b]
2024-07-11 05:07:08 -04:00
sdashmiz 25c1efc7ea FEAT-60269 - Test for large LDS
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I8f476f1b44324fffcc25423209a632caeb48cb99


[ROCm/hip-tests commit: ee6bbb0004]
2024-07-08 12:07:14 -04:00
Vladana Stojiljkovic 5d51ecfd8b SWDEV-456699 - Fix Unit_hipDrvGraphAddMemcpyNode_Negative_Parameters test case
Change-Id: Ia27362115bbf0e96a7eac5a5ae21c2d504419bc8


[ROCm/hip-tests commit: a3bc534a5f]
2024-07-02 05:03:44 -04:00
Satyanvesh Dittakavi ca85d70421 SWDEV-458637 - Adds test for bitcode compilation with undefined function
Change-Id: Ic94d2a4a99ce6993a9a11e74192e13c90a99598e


[ROCm/hip-tests commit: 8417e0b442]
2024-07-01 12:22:47 -04:00
Vladana Stojiljkovic eb3fdb8a8a SWDEV-454667 - Fix Unit_hipGraphAddNodeTypeEventWait_Positive_Basic test case
Change-Id: I68c6ce4d0622a7bcc5908f2901c568cbaa18c448


[ROCm/hip-tests commit: ee9da46aab]
2024-07-01 10:40:21 +02:00
Todd tiantuo Li 106e39f1e2 SWDEV-448894 - Correct and align peer access related behavior for memcpy tests
Change-Id: I31379836f9066a6b317efc26678302261e4c7a1b


[ROCm/hip-tests commit: 4163c69fdc]
2024-06-26 16:05:28 -04:00
Rahul Manocha dd3dc744a4 [SWDEV-445928] - hipMemAdvise XNACK test fix
Change-Id: Ibc6d57b513269d33b611b0f62e02bbc4bfebe0a1


[ROCm/hip-tests commit: cc703e501c]
2024-06-18 15:41:30 -04:00
Rupam Chetia 6309c03274 SWDEV-311271 - [catch2][dtest] Adding test for mempool and stream ordered memory APIs
Change-Id: Iddeb111e4b512bfc7422abc8e784b0a8e8fb133d


[ROCm/hip-tests commit: 456001c308]
2024-06-18 00:22:49 -04:00
Rahul Manocha 92b0b9fbc2 [SWDEV-438556][SWDEV-450826][SWDEV-449018] - Fix cooperative group catch tests
Change-Id: I553afe9c684b9ae60ce84231d7a5fbd6532a20e6


[ROCm/hip-tests commit: 6df445fef6]
2024-06-17 17:22:26 -04:00
Rahul Manocha b46f7c8f6a [SWDEV-454661] - Test updates for memcpy direction change
Change-Id: I4065595f92abc101ce54fa587af874c1d6737033


[ROCm/hip-tests commit: 23259fb1c6]
2024-06-17 14:09:55 -04:00
Vladana Stojiljkovic 2fb506a22c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe


[ROCm/hip-tests commit: dcb656301c]
2024-06-17 05:49:03 -04:00
Ioannis Assiouras e89d5c6a04 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


[ROCm/hip-tests commit: d1dff962d7]
2024-06-12 00:43:21 -04:00
Ioannis Assiouras 93cdac1e1a SWDEV-441106 - Fixed Unit_hipEventElapsedTime_NullCheck
Change-Id: Ie796d1b62ab3620104eeb3582cc6c9e52c335f36


[ROCm/hip-tests commit: 381f9d9e99]
2024-06-12 00:35:50 -04:00
Ioannis Assiouras 1a525cb854 SWDEV-464648 - code and comment cleanups
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736


[ROCm/hip-tests commit: 38f67d4a0b]
2024-06-12 00:34:10 -04:00
Rahul Manocha 6ddf2baaf9 [SWDEV-435667][SWDEV-453664] - Fix for Atomic Exchange Testcases
Change-Id: Ic2233ca962b8b5fc865433dbea630146931b5d92


[ROCm/hip-tests commit: 60d5761167]
2024-06-07 10:53:29 -04:00
Rahul Manocha ae8bf93281 [SWDEV-445928] - hipPointerSetAttribute Test fix
Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64


[ROCm/hip-tests commit: b817121403]
2024-06-07 10:49:48 -04:00
Rahul Manocha e3173e2b51 [SWDEV-445928] - Check image support for mi300 tests
Change-Id: Idf820af3e55389740bebe35ed37bca52aca81eae


[ROCm/hip-tests commit: b94242f015]
2024-06-07 10:32:20 -04:00
Anusha GodavarthySurya beb223126f SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpy2DFromArrayAsync internal API
Change-Id: Ia9cd34ad9d683404786dd2bcd7c138f7831449cc


[ROCm/hip-tests commit: 08219b3d62]
2024-06-07 09:01:28 -04:00
Yendluri, Manas 2cf0800bef SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMemset3DAsync internal API
Change-Id: Ie9e7d537041d8eb74c3a6250d8abb31b9e42b649


[ROCm/hip-tests commit: b052274496]
2024-06-07 08:52:17 -04:00
master e5305299f6 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpy2DAsync internal api
Change-Id: I63f6ed112f33df2957a05684e18d84bdb3b201b2


[ROCm/hip-tests commit: e0165e39ea]
2024-06-06 14:25:13 -04:00
taosang2 6125076d6f SWDEV-1 - Add warmup for right timing.
Add warmup for right timing in Unit_hipEventRecord
test.

Change-Id: If0ce1bafa81f1da8b1856ff9175737cdb82a2b84


[ROCm/hip-tests commit: cb7f02e04e]
2024-06-06 14:22:52 -04:00