Граф коммитов

825 Коммитов

Автор SHA1 Сообщение Дата
Vladana Stojiljkovic dcb656301c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe
2024-06-17 05:49:03 -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 381f9d9e99 SWDEV-441106 - Fixed Unit_hipEventElapsedTime_NullCheck
Change-Id: Ie796d1b62ab3620104eeb3582cc6c9e52c335f36
2024-06-12 00:35:50 -04:00
Ioannis Assiouras 38f67d4a0b SWDEV-464648 - code and comment cleanups
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736
2024-06-12 00:34:10 -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
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
taosang2 cb7f02e04e SWDEV-1 - Add warmup for right timing.
Add warmup for right timing in Unit_hipEventRecord
test.

Change-Id: If0ce1bafa81f1da8b1856ff9175737cdb82a2b84
2024-06-06 14:22:52 -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
Rahul Manocha e2ca8a03ff [SWDEV-438556][SWDEV-451646] - Fix for Warp vote catch tests
Change-Id: Icf9e0d488c4ba0267ce988b85d7b38478db9d1b8
2024-06-05 14:32:03 -04:00
Yendluri, Manas 8bd7575356 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipExtLaunchKernel internal api
Change-Id: I707bfe65de552f1831a66f9db3d60cb803ae6b3d
2024-06-03 08:08:59 -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
poojajs 72f2f3187b SWDEV-394940 Enabling basic testcases with HIPRTC apis for supported compiler options & also with combination of compiler options
Change-Id: If762335c9258fa6b0a49d53c54c0508fb7987056
2024-05-29 02:44:17 -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
Rupam Chetia 936ec35b7f SWDEV-441352 - [catch2][dtest] Added test for hipStreamBeginCaptureToGraph()
Change-Id: I026c34b2c3ff7494787a3e4fc7fb82973893b224
2024-05-14 23:51:10 -04:00
German Andryeyev 7710255a8c 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
2024-05-14 11:32:38 -04:00
Rahul Manocha 3ea71945f2 [SWDEV-454665][SWDEV-454678] - check image support for hipGraphclone test
Change-Id: I09de0bb5254b51874c563ddc1cd6ef83ab717928
2024-05-13 14:00:06 -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
Ioannis Assiouras e68fd92dd2 SWDEV-457944 - Fixed Unit_hipDeviceName_gcnArchName_And_rocm_agent_enumerator
Change-Id: I184af328177ad38072e4a20040a7f5d8b717baf1
2024-05-07 17:43:51 -04:00
kjayapra-amd 195570e142 SWDEV-437832 - Adding new test to print if the device is APU.
Change-Id: Iab97730e25d565d04a31ce526fbcacfc3c6d84bd
2024-05-07 06:53:44 -04:00
Alex Xie 26223a792b SWDEV-452538 - Cast functions directly to void *
This fix build errors in some builds

Change-Id: I1b8c9fa7186b60a20e8dfb86599c348455620c32
2024-05-06 09:21:17 -04:00
Branislav Brzak 19b8430f9d SWDEV-441284 - Add hipMemsetD32 test
Change-Id: I7c26f73138eff0f9e090056f4721b35f4a6e8ef8
2024-05-06 08:08:23 -04:00
Sebastian Luzynski 109ffa0590 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
2024-05-06 07:38:07 -04:00
Rambabu Swargam 73ccc66ca2 SWDEV-433563 - [catch2][dtest] Functional testcases for hipGetFuncBySymbol API
Change-Id: Ic1bcfe35d124da990e6f1868475ba2ed1752b1d5
2024-05-06 06:56:41 -04:00
Anusha GodavarthySurya 27d173286c SWDEV-448562 - [catch2][dtest] Basic functional and negative testcases for hipHccModuleLaunchKernel API
Change-Id: I77a7101915a6e2c431508edbd997e714f85a7ac4
2024-05-06 06:53:23 -04:00
Jatin Chaudhary 99995b9f72 SWDEV-379007 - fp8 tests
Change-Id: I528a8fc53c3145b5322d5d4892499faec71f7684
2024-05-03 09:09:31 -04:00
Sameer Sahasrabuddhe 53f0a9bd01 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
2024-05-03 08:58:23 -04:00
Sebastian Luzynski 586f8ad143 SWDEV-441602 - Add tests for hiprtcLinkAddFile
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iae148c3c908e18247624937512908dbb3cbc460c
2024-04-29 03:31:02 -04:00
German Andryeyev a2e4b0d3be SWDEV-353281 - Correct mempool graph test
The new logic requires VM mode

Change-Id: Ia15bb63674880a82a28b75e809c75a04aa16b4ac
2024-04-25 11:18:42 -04:00
Rahul Manocha 1db5d468fe [SWDEV-454661][SWDEV-454653] - Enable GraphExecMemcpyNodeSetParams memcpy direction testcases
Change-Id: Ib0f5fc4fe450b1d79325446f284cc7b1b49c6cae
2024-04-23 17:09:54 -04:00
kjayapra-amd 7d0f8e43b7 SWDEV-413997 - Fixing test cases where setaccess is missed and validation data structure not updated.
Change-Id: I65d8e77b7ce9b4378b56cfa85c50ed23af69dd90
2024-04-23 06:11:28 -04:00
Rahul Manocha 839b3b21d1 [SWDEV-438556][SWDEV-451686] - Enable Negative Param hip tests
Change-Id: I7c602ca0109864aac9d18feb31ae90f2a0ef4d36
2024-04-22 13:00:22 -04:00
SrinivasaRao 2a13a47e99 SWDEV-449770 - [catch2][dtest] Functional test cases for the hipGetProcAddress API
Change-Id: I15dd2551224f36f4469cf9fc93246de9f30d9588
2024-04-19 12:25:36 -04:00
Anusha GodavarthySurya 24aac9da77 SWDEV-436126 - Enable unit tests for AMD platform
Change-Id: Ic76afca7c966a3b237175effccb02903808e9805
2024-04-19 08:32:36 -04:00
Marko Arandjelovic ca5e061bf6 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
2024-04-18 03:27:54 -04:00
Jaydeep Patel 821d66bd52 SWDEV-453487 - Check if image is supported for hipModuleGetTexRef.
Change-Id: I7eadf6997f8f8363e449c590763e0c20b5b26ff7
2024-04-17 11:50:27 -04:00
Jaydeep Patel 7def265d94 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
2024-04-17 07:58:37 -04:00
Yendluri, Manas f4697904ae SWDEV-448562 - [catch2][dtest] Funtional and negative testcases for hipDrvMemcpy2DUnaligned API
Change-Id: I0761b9ecac39bf429cd7943a13bb77d8784b3524
2024-04-17 03:03:30 -04:00
Anusha GodavarthySurya 8676d3637a SWDEV-455869 - hip and hsa runtime cannot detect uninitialized pointer
Change-Id: I93459f5d8b7dd4ed7aecf84703ba9aa796777038
2024-04-16 11:09:27 -04:00
Rahul Manocha bcff12dedc [SWDEV-438556][SWDEV-449685] - Fix for CG MultiGrid Group Tests
Change-Id: Iaf3d422e57465fefe9adb1fc7c01a480ada37db3
2024-04-16 08:20:33 -04:00
Rahul Manocha 4a80eee9f1 [SWDEV-435667][SWDEV-452232] - Fix for Atomic Exch testcase seg faults
Change-Id: I36cd008215f41fe8b7c73fba11443a77658828ee
2024-04-16 03:09:31 -04:00
Rupam Chetia 20929e0b82 SWDEV-306122 - [catch2][dtest] Added test for hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute and hipDeviceGraphMemTrim API
Change-Id: I1e08ecc91ef83bcc0cbb62397187d0eee2d98037
2024-04-15 23:42:48 -04:00
Satyanvesh Dittakavi bd8fe4133b SWDEV-444021 - Add unit test for hipGetFuncBySymbol
Change-Id: Ie349ce7a8a8470a3ffff21d62f62c19d6e56ad0f
2024-04-15 13:22:22 -04:00