Commit Graph

1364 Commits

Author SHA1 Message Date
Sebastian Luzynski 76107fa745 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


[ROCm/hip-tests commit: 65512f5872]
2024-05-29 10:26:20 -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
Jaydeep Patel 9cdbce3376 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


[ROCm/hip-tests commit: 078ec631df]
2024-05-13 01:36:13 -04:00
Julia Jiang b7d5ec9fec SWDEV-458672 - Fix dead links in hip-tests repos
Change-Id: Iea5b47d2db3b6e33fc18f1ed5bb79be688cce600


[ROCm/hip-tests commit: c8c4faefa2]
2024-05-10 11:31:00 -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
Konstantin Zhuravlyov 292a3c53b5 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


[ROCm/hip-tests commit: 80722e5505]
2024-05-07 10:21:17 -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
kjayapra-amd 49c0a7b376 SWDEV-413997 - Enabling passing VMM tests on Linux
Change-Id: Ifb9e6d90946a74a01d586689537f2974b4c811d4


[ROCm/hip-tests commit: 745ea7b4de]
2024-05-07 04:44:08 -04:00
Rahul Manocha 70541b6c27 [SWDEV-442583] - Fix for hipMemset performance tests
Change-Id: Id4f0d82551aaad6b7054660f318421e062c74c64


[ROCm/hip-tests commit: eeaa39f2bf]
2024-05-06 10:49:30 -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
Jaydeep Patel 2fbfe65f30 SWDEV-452646 - Enabled sample 16 & 17 as compiler change is landed in mainline.
Change-Id: I865c3ab3cb99f32d057fb9f662f358adc9977481


[ROCm/hip-tests commit: ae66ad5d95]
2024-05-03 10:11:04 -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
Julia Jiang a27e1a5aa1 SWDEV-449652 - adding contributing.md in hip-tests repos
Change-Id: I756c67d10c387bbe849f916c76c7bd8c4e02faa6


[ROCm/hip-tests commit: 4b6c7b5fcb]
2024-04-30 11:34:21 -04:00
Julia Jiang a1fe0c6320 SWDEV-459583 - Update codeownder in hip-tests repos
Change-Id: Id3adf830214ae56538bcd86d3f53d8e15dc66666


[ROCm/hip-tests commit: ea4e53ec27]
2024-04-29 19:07:34 -04:00
German Andryeyev 7e385c4568 SWDEV-353281 - Disable MemPool functional test
Change-Id: I147d31c90f601dae88e06c55c4d5deb142ae61ae


[ROCm/hip-tests commit: f2dfd620c2]
2024-04-29 11:24:25 -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
Horatio Zhang 18e10c3311 config: Update config_amd_wsl file for WSL
- Update windows/linux disable test cases
- Remove passed test cases related to image extension
- Add Unit_hipStreamValue_Wait32_NonBlacking_Mask_Gte to
random TDR classification

Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Change-Id: Ib49283392fedb0c46e38839a1cdf4cdea3f92956


[ROCm/hip-tests commit: 5d21315df4]
2024-04-24 13:30:26 -04:00
kjayapra-amd 91854b1b39 SWDEV-448592 - Disable failing VMM tests on windows.
Change-Id: Id5a8e98edb13df05c0606158ba0c9dc9959e894e


[ROCm/hip-tests commit: b727e77ee2]
2024-04-24 11:32:09 -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
Rahul Manocha 9961681454 SWDEV-449487 Generate dimensions for multiproc count 2
Change-Id: I3728ff49f0b2c292d46307d689066af3f59b455f


[ROCm/hip-tests commit: fead2adf5b]
2024-04-18 06:22:23 -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
Jaydeep Patel be34a8a20e SWDEV-444265 - Enable Unit_hipGraphExecEventWaitNodeSetEvent_SetAndVerifyMemory test.
Change-Id: I0cea6a683daf26c9048ba0007b51edb2851e2e99


[ROCm/hip-tests commit: 016c533399]
2024-04-17 07:55:47 -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
Rupam Chetia afe19c1b3e SWDEV-306122 - [catch2][dtest] Added test for hipDeviceGetGraphMemAttribute, hipDeviceSetGraphMemAttribute and hipDeviceGraphMemTrim API
Change-Id: I1e08ecc91ef83bcc0cbb62397187d0eee2d98037


[ROCm/hip-tests commit: 20929e0b82]
2024-04-15 23:42:48 -04:00
Satyanvesh Dittakavi c52ea5a129 SWDEV-444021 - Add unit test for hipGetFuncBySymbol
Change-Id: Ie349ce7a8a8470a3ffff21d62f62c19d6e56ad0f


[ROCm/hip-tests commit: bd8fe4133b]
2024-04-15 13:22:22 -04:00
Rakesh Roy 03d0117d87 SWDEV-1 - Skip tests hanging/failing in Windows PSDB
- Device side memory allocation & printf testcases are hanging because pcie atomics is disabled in recent builds
- Few Coalesced Group testcases also hanging
- Unit_Thread_Block_Getters_Positive_Basic testcase is failing randomly

Change-Id: Ie53515db05c41e879248bb02655a74f0c296aa5f


[ROCm/hip-tests commit: 9de3979083]
2024-04-13 23:18:26 -04:00
Jaydeep Patel 3c44acec6b SWDEV-452646 - Disable sample 16 & 17 temporarily due to compiler dependency.
Change-Id: I010f019066fa277536270feaef38a2cd5edc63d0


[ROCm/hip-tests commit: 7c12d95667]
2024-04-12 01:10:54 -04:00
Jatin Chaudhary 37c2adf0a1 SWDEV-379007 - fix __hip_bfloat16 tests
Change-Id: I9d3c9ec440c818ce72fe3b09bd06a5d888e4ac25


[ROCm/hip-tests commit: 9d06a7c40a]
2024-04-09 05:32:22 -04:00
Jatin Chaudhary 5b37dc2df5 SWDEV-429802 - Add sanitizer option to hip-samples
Change-Id: I30cb170d466645ea2dfd940b9c6c6748cc010de1


[ROCm/hip-tests commit: 9261110d65]
2024-04-08 05:36:26 -04:00