Commit Graph

1432 Commits

Author SHA1 Message Date
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
Jatin Chaudhary fb42c40c64 SWDEV-439716 - add readme in perftests redirecting user to actual folder
Change-Id: Id317a2ca7ad94663832661db62d0d10d1dc5b638


[ROCm/hip-tests commit: c971a816d9]
2024-07-24 11:23:37 -04:00
Maneesh Gupta c52a74c5aa SWDEV-459583 - Fix codeowners file
Change-Id: Ib03328a7fb13375fa44626a40202b1eeb177b8b5


[ROCm/hip-tests commit: 1f1df5c052]
2024-07-24 08:20:37 +00: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
Maneesh Gupta 52e29e25ee SWDEV-472433 - Update year in license
Change-Id: Idcd114233dc8465e3ec2b24add94c0af2261674e


[ROCm/hip-tests commit: 98ab0ef459]
2024-07-17 05:14:06 -04: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
Jaydeep Patel fe8d75baf4 SWDEV-453487 - Enable Unit_hipModuleGetTexRef_Negative_Parameters.
Change-Id: Ib2edca88dd5176070c17ebc75fc019c055d22faa


[ROCm/hip-tests commit: 7e0296bf7b]
2024-07-15 11:41:59 -04:00
Rahul Manocha ba7bb751a8 [SWDEV-468039] - Disable FP8 test to merge clr patch
Change-Id: I60314444bdbfaef1a5de0876144e8e1e2217fe40


[ROCm/hip-tests commit: 4f33714399]
2024-07-15 11:27:32 -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
Jaydeep Patel 44e6cc3e7a SWDEV-462616 - Sample 19 is disabled temporarily due to ASAN failure.
Change-Id: I6528095909da1f91dbe7383752deca780a38a231


[ROCm/hip-tests commit: ba83484a8d]
2024-07-04 05:41:15 +00: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
Kuppala, Arjun Raj ebdb0c977f SWDEV-464648 - update the label with gfx alias
Signed-off-by: Kuppala, Arjun Raj <arjunraj.kuppala@amd.com>
Change-Id: I7ab8b232cd6b42818a93f738c4010bd375d1231f


[ROCm/hip-tests commit: ec2b63b0c1]
2024-06-27 11:38:41 -04: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
Manas Yendluri 4603679848 SWDEV-454685 Enabling passing disabled testcase Unit_hipDrvGraphAddMemsetNode_hipMallocPitch_2D
Change-Id: I2886c2fdf4552059e417a4b905891baba36f393d


[ROCm/hip-tests commit: 28d4034e22]
2024-06-21 00:05:08 -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
Ranjith Ramakrishnan 17e9b6cedb SWDEV-383837 - Update hip-samples package dependencies
hip-samples package should depends on hip-dev/devel and hipcc rather than hip-runtime-amd
Updated the same for static package as well

DependsOn: Iacab7993dffaa00efd1344d3eafb55f6317d1509
Change-Id: I1470475ddbaf9201ba0e39977aeb48b0382f59c9


[ROCm/hip-tests commit: 0b28ca3f04]
2024-06-17 19:34:13 -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
Ranjith Ramakrishnan 1637f46394 SWDEV-467162 - Temporarily disable hip-lang test for static builds
Hip-lang test is failing in static build environment. Disabling it for time being
TODO: Need to renable the test once its fixed

Change-Id: Ie15f02a157a13b3f105596ad673a8a1da6e78b67


[ROCm/hip-tests commit: c7e0c65779]
2024-06-12 14:36:04 -07:00
Ioannis Assiouras e12fc07212 SWDEV-445669 - Made required changes to test static libs
Change-Id: I0fbcdaa9f0b9633d861300c221ac12df1772c6e9


[ROCm/hip-tests commit: 8a24059131]
2024-06-12 05:14:36 -04:00
Manas Yendluri 39c00343f8 SWDEV-454686 Enabling passing disabled testcase Unit_hipDrvGraphAddMemsetNode_hipMallocPitch_1D
Change-Id: If897ca62e1bc6252f86c4113a8c7d303a8722346


[ROCm/hip-tests commit: cb8f7860c3]
2024-06-12 00:44:29 -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