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

1466 Коммитов

Автор SHA1 Сообщение Дата
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
Julia Jiang 4b6c7b5fcb SWDEV-449652 - adding contributing.md in hip-tests repos
Change-Id: I756c67d10c387bbe849f916c76c7bd8c4e02faa6
2024-04-30 11:34:21 -04:00
Julia Jiang ea4e53ec27 SWDEV-459583 - Update codeownder in hip-tests repos
Change-Id: Id3adf830214ae56538bcd86d3f53d8e15dc66666
2024-04-29 19:07:34 -04:00
German Andryeyev f2dfd620c2 SWDEV-353281 - Disable MemPool functional test
Change-Id: I147d31c90f601dae88e06c55c4d5deb142ae61ae
2024-04-29 11:24:25 -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
Horatio Zhang 5d21315df4 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
2024-04-24 13:30:26 -04:00
kjayapra-amd b727e77ee2 SWDEV-448592 - Disable failing VMM tests on windows.
Change-Id: Id5a8e98edb13df05c0606158ba0c9dc9959e894e
2024-04-24 11:32:09 -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
Rahul Manocha fead2adf5b SWDEV-449487 Generate dimensions for multiproc count 2
Change-Id: I3728ff49f0b2c292d46307d689066af3f59b455f
2024-04-18 06:22:23 -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
Jaydeep Patel 016c533399 SWDEV-444265 - Enable Unit_hipGraphExecEventWaitNodeSetEvent_SetAndVerifyMemory test.
Change-Id: I0cea6a683daf26c9048ba0007b51edb2851e2e99
2024-04-17 07:55:47 -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
Rakesh Roy 9de3979083 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
2024-04-13 23:18:26 -04:00
Jaydeep Patel 7c12d95667 SWDEV-452646 - Disable sample 16 & 17 temporarily due to compiler dependency.
Change-Id: I010f019066fa277536270feaef38a2cd5edc63d0
2024-04-12 01:10:54 -04:00
Jatin Chaudhary 9d06a7c40a SWDEV-379007 - fix __hip_bfloat16 tests
Change-Id: I9d3c9ec440c818ce72fe3b09bd06a5d888e4ac25
2024-04-09 05:32:22 -04:00
Jatin Chaudhary 9261110d65 SWDEV-429802 - Add sanitizer option to hip-samples
Change-Id: I30cb170d466645ea2dfd940b9c6c6748cc010de1
2024-04-08 05:36:26 -04:00
Jaydeep Patel ad602b0011 SWDEV-444257 - Less # of CUs i.e. 2 tends to ..
- make blockdim to become 0 and hence need validation.
- run cooperative kernel with param lesser # of threads
  than actual # of elements and hence need correction in
  validation part.

Change-Id: Ie48a038fe6f8cf25d7f6460703648a360f511f35
2024-04-03 13:37:34 -04:00
SrinivasaRao 51f3451577 SWDEV-436870 - [catch2][dtest] Test cases to verify the data type of ptrdiff_t
Change-Id: Ie477f7201c0bd2db5f1f200eec326c91d0c98c28
2024-04-03 11:54:25 -04:00