Wykres commitów

1495 Commity

Autor SHA1 Wiadomość Data
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
Ranjith Ramakrishnan 0b28ca3f04 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
2024-06-17 19:34:13 -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
Vladana Stojiljkovic dcb656301c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe
2024-06-17 05:49:03 -04:00
Ranjith Ramakrishnan c7e0c65779 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
2024-06-12 14:36:04 -07:00
Ioannis Assiouras 8a24059131 SWDEV-445669 - Made required changes to test static libs
Change-Id: I0fbcdaa9f0b9633d861300c221ac12df1772c6e9
2024-06-12 05:14:36 -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 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
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
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
Sebastian Luzynski 65512f5872 Adjust cmake target to work with different build tools
This change allows to build smaples repo with different build tools like ninja

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I232efc3f19895e84b9de0d410ea43ec55b913ab4
2024-05-29 10:26:20 -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
Jaydeep Patel 078ec631df SWDEV-457316 - Disable tests temporarily.
I40459e66d7dd84f3b5298617990313b41458c804 exposes a bug in these test cases.
Disable tests temporarily in order to merge the CLR change.
Once CLR change lands, these tests will be enabled back with fix.

Change-Id: Icebfc7b4461db79fd8bce70fcc1f11df2f9e71c0
2024-05-13 01:36:13 -04:00
Julia Jiang c8c4faefa2 SWDEV-458672 - Fix dead links in hip-tests repos
Change-Id: Iea5b47d2db3b6e33fc18f1ed5bb79be688cce600
2024-05-10 11:31:00 -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
Konstantin Zhuravlyov 80722e5505 hipcc hacks and workarounds
- force hipcc.bin on windows
    - avoids perl, which randomly can't spawn processes
  - force hipconfig.bat on windows
    - hipconfig.bin does not print hip version for some reason
    - i will file a ticket for this

Change-Id: Ib9fb981844213b038f6d1cc3288148116295b58c
2024-05-07 10:21:17 -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
kjayapra-amd 745ea7b4de SWDEV-413997 - Enabling passing VMM tests on Linux
Change-Id: Ifb9e6d90946a74a01d586689537f2974b4c811d4
2024-05-07 04:44:08 -04:00
Rahul Manocha eeaa39f2bf [SWDEV-442583] - Fix for hipMemset performance tests
Change-Id: Id4f0d82551aaad6b7054660f318421e062c74c64
2024-05-06 10:49:30 -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
Jaydeep Patel ae66ad5d95 SWDEV-452646 - Enabled sample 16 & 17 as compiler change is landed in mainline.
Change-Id: I865c3ab3cb99f32d057fb9f662f358adc9977481
2024-05-03 10:11:04 -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