Commit Graph

827 Commits

Author SHA1 Message Date
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
Yendluri, Manas 03da8cb9b4 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpyDtoDAsync internal api
Change-Id: I5b22fdda0a80f5d110272e18cfb6995f8b84f04a


[ROCm/hip-tests commit: 1f097b19a5]
2024-06-06 14:20:40 -04:00
Yendluri, Manas 3135b75b3c SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemset2DAsync internal API
Change-Id: Ia76dddda7281e08a7a3210786542301f00da0812


[ROCm/hip-tests commit: 821dc1880a]
2024-06-06 14:18:27 -04:00
Yendluri, Manas 552bd06622 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMempcyFromSymbolAsync capturehipMemcpyToSymbolAsync internal APIs
Change-Id: I8ade6f8f40e7a105792f07b1913a6b3fff477bd7


[ROCm/hip-tests commit: 6125f90e67]
2024-06-06 14:15:51 -04:00
Yendluri, Manas 01519a8d51 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMempcyHtoDAsync capturehipMemcpyDtoHAsync internal APIs
Change-Id: I2604dddf1d120622d565a1b74c93550e27ace031


[ROCm/hip-tests commit: 7c9f7737c0]
2024-06-06 13:59:57 -04:00
Rahul Manocha 6eb8d8cb55 [SWDEV-438556][SWDEV-451646] - Fix for Warp vote catch tests
Change-Id: Icf9e0d488c4ba0267ce988b85d7b38478db9d1b8


[ROCm/hip-tests commit: e2ca8a03ff]
2024-06-05 14:32:03 -04:00
Yendluri, Manas d016f96947 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipExtLaunchKernel internal api
Change-Id: I707bfe65de552f1831a66f9db3d60cb803ae6b3d


[ROCm/hip-tests commit: 8bd7575356]
2024-06-03 08:08:59 -04:00
Sebastian Luzynski 7bd95c3da6 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


[ROCm/hip-tests commit: ea96f486ef]
2024-06-03 08:04:04 -04:00
poojajs 92a9ba163e SWDEV-394940 Enabling basic testcases with HIPRTC apis for supported compiler options & also with combination of compiler options
Change-Id: If762335c9258fa6b0a49d53c54c0508fb7987056


[ROCm/hip-tests commit: 72f2f3187b]
2024-05-29 02:44:17 -04:00
shadi dashmiz f2be8ae51b SWDEV-459352 - Correct dynamic array usage
Signed-off-by: shadi dashmiz <sdashmiz@amd.com>
Change-Id: I65b284daea4110bbcf788ffa990cbb7931835c16


[ROCm/hip-tests commit: db06a007c4]
2024-05-21 08:37:54 -04:00
Rupam Chetia 1fcc33f64e SWDEV-441352 - [catch2][dtest] Added test for hipStreamBeginCaptureToGraph()
Change-Id: I026c34b2c3ff7494787a3e4fc7fb82973893b224


[ROCm/hip-tests commit: 936ec35b7f]
2024-05-14 23:51:10 -04:00
German Andryeyev 955adddd63 SWDEV-440746 - Correct data size for query
Size query for hipDeviceGetGraphMemAttribute or
hipDeviceSetGraphMemAttribute has to use size_t type or uint64_t

Change-Id: I4ba38555d805fde03a8cd3ea7aaac7b0f99d1301


[ROCm/hip-tests commit: 7710255a8c]
2024-05-14 11:32:38 -04:00
Rahul Manocha bca0baebc2 [SWDEV-454665][SWDEV-454678] - check image support for hipGraphclone test
Change-Id: I09de0bb5254b51874c563ddc1cd6ef83ab717928


[ROCm/hip-tests commit: 3ea71945f2]
2024-05-13 14:00:06 -04:00
Branislav Brzak 2665777978 SWDEV-441280 - Add hipMemsetD16 test
Change-Id: I39b1b6d3ebb571c8f86e57a5b5f9057d197868ce


[ROCm/hip-tests commit: 96a076ea96]
2024-05-10 05:26:21 -04:00
Ioannis Assiouras 872961b973 SWDEV-437817 - Added unit test for failing hipMemCpy2D case
Change-Id: I31f1a51e61b8412ecbb14dbbce370929fd2b446c


[ROCm/hip-tests commit: 8189a006e6]
2024-05-09 16:51:30 -04:00
Ioannis Assiouras 16f08a55a1 SWDEV-457944 - Fixed Unit_hipDeviceName_gcnArchName_And_rocm_agent_enumerator
Change-Id: I184af328177ad38072e4a20040a7f5d8b717baf1


[ROCm/hip-tests commit: e68fd92dd2]
2024-05-07 17:43:51 -04:00
kjayapra-amd 5315ad961a SWDEV-437832 - Adding new test to print if the device is APU.
Change-Id: Iab97730e25d565d04a31ce526fbcacfc3c6d84bd


[ROCm/hip-tests commit: 195570e142]
2024-05-07 06:53:44 -04:00
Alex Xie ab3a5bfeef SWDEV-452538 - Cast functions directly to void *
This fix build errors in some builds

Change-Id: I1b8c9fa7186b60a20e8dfb86599c348455620c32


[ROCm/hip-tests commit: 26223a792b]
2024-05-06 09:21:17 -04:00
Branislav Brzak 4036a8e388 SWDEV-441284 - Add hipMemsetD32 test
Change-Id: I7c26f73138eff0f9e090056f4721b35f4a6e8ef8


[ROCm/hip-tests commit: 19b8430f9d]
2024-05-06 08:08:23 -04:00
Sebastian Luzynski cde03b514c SWDEV-452538 - Cast functions directly to void* instead of casting to function pointer
This change fixes build warning when compiled with -Wcast-function-type flag

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: If60abf5c6855879a07375c166d7cb9ff6cd6fe5d


[ROCm/hip-tests commit: 109ffa0590]
2024-05-06 07:38:07 -04:00
Rambabu Swargam ac0795fe28 SWDEV-433563 - [catch2][dtest] Functional testcases for hipGetFuncBySymbol API
Change-Id: Ic1bcfe35d124da990e6f1868475ba2ed1752b1d5


[ROCm/hip-tests commit: 73ccc66ca2]
2024-05-06 06:56:41 -04:00
Anusha GodavarthySurya 86f5c107fb SWDEV-448562 - [catch2][dtest] Basic functional and negative testcases for hipHccModuleLaunchKernel API
Change-Id: I77a7101915a6e2c431508edbd997e714f85a7ac4


[ROCm/hip-tests commit: 27d173286c]
2024-05-06 06:53:23 -04:00
Jatin Chaudhary 8079f81851 SWDEV-379007 - fp8 tests
Change-Id: I528a8fc53c3145b5322d5d4892499faec71f7684


[ROCm/hip-tests commit: 99995b9f72]
2024-05-03 09:09:31 -04:00
Sameer Sahasrabuddhe ec1f43cd05 SWDEV-453422: introduce warp sync tests
The following builtins are tested:

  - __all_sync, __any_sync, __ballot_sync and __activemask
  - __match_any_sync and __match_all_sync
  - __shfl_sync, __shfl_up_sync, __shfl_down_sync, and __shfl_xor_sync

The tests for shfl (all variants) were manually validated on a CUDA setup.

NOTE:

  - Unit_hipVoteSync_All temporarily disabled on Windows (SWDEV-452308).
  - All new tests temporarily disabled on CUDA (SWDEV-453145).

Change-Id: I84b205a88aa24219d199c760793e2f19f0cf8f13


[ROCm/hip-tests commit: 53f0a9bd01]
2024-05-03 08:58:23 -04:00
Sebastian Luzynski 53fa7d6d30 SWDEV-441602 - Add tests for hiprtcLinkAddFile
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iae148c3c908e18247624937512908dbb3cbc460c


[ROCm/hip-tests commit: 586f8ad143]
2024-04-29 03:31:02 -04:00
German Andryeyev e61e3918dc SWDEV-353281 - Correct mempool graph test
The new logic requires VM mode

Change-Id: Ia15bb63674880a82a28b75e809c75a04aa16b4ac


[ROCm/hip-tests commit: a2e4b0d3be]
2024-04-25 11:18:42 -04:00
Rahul Manocha db31f0fc43 [SWDEV-454661][SWDEV-454653] - Enable GraphExecMemcpyNodeSetParams memcpy direction testcases
Change-Id: Ib0f5fc4fe450b1d79325446f284cc7b1b49c6cae


[ROCm/hip-tests commit: 1db5d468fe]
2024-04-23 17:09:54 -04:00
kjayapra-amd a44a5b896d SWDEV-413997 - Fixing test cases where setaccess is missed and validation data structure not updated.
Change-Id: I65d8e77b7ce9b4378b56cfa85c50ed23af69dd90


[ROCm/hip-tests commit: 7d0f8e43b7]
2024-04-23 06:11:28 -04:00
Rahul Manocha 4ecda67e71 [SWDEV-438556][SWDEV-451686] - Enable Negative Param hip tests
Change-Id: I7c602ca0109864aac9d18feb31ae90f2a0ef4d36


[ROCm/hip-tests commit: 839b3b21d1]
2024-04-22 13:00:22 -04:00
SrinivasaRao 6b27d459e5 SWDEV-449770 - [catch2][dtest] Functional test cases for the hipGetProcAddress API
Change-Id: I15dd2551224f36f4469cf9fc93246de9f30d9588


[ROCm/hip-tests commit: 2a13a47e99]
2024-04-19 12:25:36 -04:00
Anusha GodavarthySurya efe3b8f000 SWDEV-436126 - Enable unit tests for AMD platform
Change-Id: Ic76afca7c966a3b237175effccb02903808e9805


[ROCm/hip-tests commit: 24aac9da77]
2024-04-19 08:32:36 -04:00
Marko Arandjelovic d00346db7b SWDEV-452296 - Unit_hipExtModuleLaunchKernel_Positive_Basic removed
- No guarantees it will always succeed,
   could be a little early or late due to various reasons.

Change-Id: Id4c45555f9f5e05df8fdf0ad39da4c33ac16fcb9


[ROCm/hip-tests commit: ca5e061bf6]
2024-04-18 03:27:54 -04:00
Jaydeep Patel c6bf27e246 SWDEV-453487 - Check if image is supported for hipModuleGetTexRef.
Change-Id: I7eadf6997f8f8363e449c590763e0c20b5b26ff7


[ROCm/hip-tests commit: 821d66bd52]
2024-04-17 11:50:27 -04:00
Jaydeep Patel a73ceec7f9 SWDEV-449111 - Lesser CU size tends to have block & thread dim = 0. OOM as PAL uses half of CPU memory once GPU memory exhausts.
Change-Id: I2399f7247f5172fdc7980a4652ff68df4b5598c5


[ROCm/hip-tests commit: 7def265d94]
2024-04-17 07:58:37 -04:00
Yendluri, Manas f08adc6064 SWDEV-448562 - [catch2][dtest] Funtional and negative testcases for hipDrvMemcpy2DUnaligned API
Change-Id: I0761b9ecac39bf429cd7943a13bb77d8784b3524


[ROCm/hip-tests commit: f4697904ae]
2024-04-17 03:03:30 -04:00
Anusha GodavarthySurya 9139122063 SWDEV-455869 - hip and hsa runtime cannot detect uninitialized pointer
Change-Id: I93459f5d8b7dd4ed7aecf84703ba9aa796777038


[ROCm/hip-tests commit: 8676d3637a]
2024-04-16 11:09:27 -04:00
Rahul Manocha 500a08991d [SWDEV-438556][SWDEV-449685] - Fix for CG MultiGrid Group Tests
Change-Id: Iaf3d422e57465fefe9adb1fc7c01a480ada37db3


[ROCm/hip-tests commit: bcff12dedc]
2024-04-16 08:20:33 -04:00
Rahul Manocha a4d016e071 [SWDEV-435667][SWDEV-452232] - Fix for Atomic Exch testcase seg faults
Change-Id: I36cd008215f41fe8b7c73fba11443a77658828ee


[ROCm/hip-tests commit: 4a80eee9f1]
2024-04-16 03:09:31 -04:00