Jaydeep Patel
2f067487d2
SWDEV-479807 - Skip if peer access is not supported.
...
Change-Id: I2a40976e7e1a4c86c41ea86e87359c7d4b85c6d8
2024-10-23 10:57:23 -04:00
Todd tiantuo Li
d1d8b1e08e
SWDEV-448894 - Fix hipMemcpyDtoD and hipMemcpyDtoDAsync tests
...
1.Test staging buffer copy when there is no P2P capabilities
2.Enable PeerAccess correctly for P2P copy
Change-Id: Ic0b75a60c8a763f3cfe68fbd92656fbfb4c207bc
2024-10-23 10:54:34 -04:00
Rupam Chetia
9fd38dd3e1
SWDEV-471105 - [catch2][dtest] Adding functional tests for hipMemPoolExportToShareableHandle, hipMemPoolExportPointer, hipMemPoolImportFromShareableHandle and hipMemPoolImportPointer
...
Change-Id: Ief0f0d7f4c05d741e49eaffa54f11338c4bdc30f
2024-10-23 02:45:00 -04:00
Rupam Chetia
2eb6754de5
SWDEV-468182 - [catch2][dtest] Adding scenarios for hipMemImportFromShareableHandle and hipMemExportToShareableHandle
...
Change-Id: I46e2bb60acc354c2db02a150848d9be4386bff30
2024-10-23 02:35:31 -04:00
Marko Arandjelovic
bac782e398
SWDEV-441278 - Add hipHostFree test
...
Change-Id: Ibb78f3d36aa35bf75329adf65f19da5977a965f3
2024-10-23 01:04:44 -04:00
Sebastian Luzynski
eec4fec7d4
SWDEV-441598 - Add tests for hiprtcLinkDestroy
...
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com >
Change-Id: Icb73543a72eaf1a0ee59b702c6f4bf5be7cbeb36
2024-10-18 04:06:31 -04:00
Marko Arandjelovic
b0943c82ca
SWDEV-475688 - Add unit test for hipHostAlloc
...
Change-Id: Id414d16651529983674b4f90391e0913feab0440
2024-10-17 17:59:53 -04:00
sdashmiz
4e4cde6d70
SWDEV-462585 - Add initial test for hipStreamLegacy
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Idf38f2e8c49e9011ede73e6222db68ccdc74ed80
2024-10-15 11:11:12 -04:00
taosang2
b4694a6bab
SWDEV-482059 SWDEV-476745 - Add image support check
...
Add image support check before hipMallocArray().
Change-Id: I9efed88d791ee1b2b4465286b3341b821f7bf628
2024-10-09 11:29:28 -04:00
Rahul Manocha
e3e662b52b
SWDEV-468039 - Add Catch Test for fp8 OCP type conversions
...
Change-Id: I2648909483b8dc32fcd720c18608c5ca32399045
2024-09-25 12:00:52 -04:00
Jatin Chaudhary
f62e3df454
SWDEV-411880 - Fix test device malloc
...
Unit_deviceAllocation_Malloc_ComplexDataType
Change-Id: I8d5c3a9c63e74ffc90ddf6b89729603236a88fcf
2024-09-24 14:45:40 -04:00
taosang2
352932738a
SWDEV-476125 - Fix synchronization tests
...
Fix issues of
Unit_cache_coherency_cpu_gpu
Unit_cache_coherency_gpu_gpu
Enable them for all devices.
Change-Id: I19ba2084fdddd7b173edddb4e9c1b16cf7a97314
2024-09-24 14:39:57 -04:00
Rahul Manocha
4e99f68b03
[SWDEV-467733] - Set Cache Config Negative Param test fix
...
Change-Id: I058ca23a05e63aaaa54ea22e2b509593764cd7bc
2024-09-24 12:26:35 -04:00
Marko Arandjelovic
e35cc19aaf
SWDEV-465148 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
...
- For transfers from any host memory to any host memory,
the function is fully synchronous with respect to the host.
Change-Id: Ie1cb3e136334af320d2596460faed58fcb714b83
2024-09-23 14:55:23 -04:00
Marko Arandjelovic
6867852a89
SWDEV-454656 Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic
...
Pitch cannot be lower then width
Change-Id: I929672fad4ca62d21ffd7bfec8bbc837e7bbcee2
2024-09-17 11:57:29 -04:00
Marko Arandjelovic
a34ae6c8fc
SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops
...
Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3
2024-09-13 14:49:36 -04:00
Branislav Brzak
3e945b10f1
SWDEV-441279 - Add hipMemsetD8Async test
...
Change-Id: Ibcdb2098c45db440c79151b4d7dad6734b16222a
2024-09-13 17:30:26 +02:00
Marko Arandjelovic
ad5b55a2c4
SWDEV-465204 - Fix Unit_hipModuleLaunchKernel_Negative_Parameters
...
Change-Id: I754d1835366f131f44d56da05ac24bc152cbfa47
2024-09-13 10:56:33 -04:00
Marko Arandjelovic
27be56f329
SWDEV-454659 - Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Negative_Parameters
...
Pitch cannot be lower then width
Change-Id: Ib42f036f1158b500ce8892643178469a2ec7dc88
2024-09-13 10:48:14 -04:00
Marko Arandjelovic
850511cc28
SWDEV-465196 - Fix coalesced_group tests
...
Change-Id: I4537e2351273d0c71ff62d34b5002fcb2ecd15e6
2024-09-13 04:29:02 -04:00
Sourabh Betigeri
aaec37314f
SWDEV-462007 - Fixes and strenghtens multi grid sync on mgpus
...
- Replaces logic relying on clock64() instead to
use an atomic counter that the last wg in grid
and multi-grid groups wait on while the the
non-last work groups increment the counter
to "done"
- Implements a new logic to verify the multi-grid
sync()
Change-Id: I7780d8124e5f144b124e5d191d0f412483a3b565
2024-09-06 11:58:20 -07:00
Vladana Stojiljkovic
5b67a2a4a0
SWDEV-450735 - Add compiler option for using clock64
...
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02:00
Branislav Brzak
365dbf738b
SWDEV-441294 - Add hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags test
...
Change-Id: Ia45dc367729677e159428960f3970da97047cf06
2024-08-27 05:29:56 -04:00
Marko Arandjelovic
d3f42460e8
SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
...
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974
2024-08-26 13:41:57 -04:00
Jatin Chaudhary
c96c60c49c
SWDEV-466747 - add shfl tests and increase test coverage
...
Change-Id: Ifd3edb5620fcbd3c3bbd88a0a1280eaac98e0487
2024-08-26 13:27:57 -04:00
SrinivasaRao
304b0ac90b
SWDEV-388834 - [catch2][dtest] Module tests migrated from direct to catch2
...
Change-Id: I9a3fbdd4e52bb69ab428b7cfcd478fa0382e7cc9
2024-08-22 23:39:12 -04:00
victzhan
9d669b3bea
SWDEV-473011 - Rename hipMemcpy_old.cc to hipMemcpy_EdgeCases for readability.
...
Change-Id: I1634759aea340ecbb83fcc7c3328918147eeb0e9
2024-08-20 10:06:13 -04:00
Rahul Manocha
6cf941c830
SWDEV-454315 - Disable test section that segfaults on windows
...
Change-Id: Idaac99c433120d98646417318258bfb375d2f367
2024-08-14 07:53:29 -04:00
Rakesh Roy
9ec381b401
SWDEV-472723 - Correct file format
...
- Change line ending from CRLF to LF
Change-Id: Ie75e4bd3c7d58532bc986ec61476ee6f9c5f1f95
2024-08-13 13:39:48 +05:30
Satyanvesh Dittakavi
5f1dfc3851
SWDEV-465073 - Update hipClassKernel_Virtual test
...
Compiler has changed to match the device side struct layout with
the host side and hence the test is updated to verify if struct sizes
of both host and device are equal instead of checking for hardcoded
struct sizes
Change-Id: Idd9ea1f04b413b7aa30f03555fd8e0ee11cd0f75
2024-08-12 13:39:50 -04:00
Branislav Brzak
0c335250f9
SWDEV-441285 - Add hipMemsetD32Async test
...
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0
2024-08-12 06:43:50 -04:00
Rakesh Roy
101981b354
SWDEV-472723 - Correct file format
...
- Change line ending from CRLF to LF
Change-Id: I4c3cf072f143d6add7ddf66cb8d6d8a1e45f77ab
2024-08-12 14:33:17 +05:30
Marko Arandjelovic
b0b04e81be
SWDEW-441411 - Add hipConfigureCall test
...
Change-Id: I90d9b778d3f53bed20777251f839063431141440
2024-08-09 07:41:15 -04:00
Ioannis Assiouras
1bd8e9dcf4
SWDEV-472309 - Disable hipGetProcAddress tests for static build
...
Change-Id: I7018829557f9e7132b7e4a71b31de5e67ed29218
2024-08-08 16:44:12 -04:00
Rahul Manocha
90bafb8ae8
[SWDEV-454315] - Fix for Atomic bitwise ops testcases
...
Change-Id: Ib402c6499ad9218fba89e78c8f91a87ca3537b35
2024-08-08 14:44:23 -04:00
Sourabh Betigeri
787f7f8df1
SWDEV-435054 - Improves robustness of HIP test
...
Makes the test stronger by hiding
dispatch scheduling latency on MI300
Change-Id: Ic9724f4f1b16f1e707060129327248bbb353df45
2024-08-08 14:23:24 -04:00
Ioannis Assiouras
25af4dd1f4
SWDEV-432951 - Added C unit test
...
Change-Id: I65a1e5be1782fd325cf1cfb74fbd80b4564df9dc
2024-08-08 14:18:15 -04:00
Todd tiantuo Li
0ee0e4ab4a
SWDEV-432490 - fix __HIP_NO_IMAGE_SUPPORT logic
...
1.Skip texture/image tests when __HIP_NO_IMAGE_SUPPORT is set to prevent inevitable silent failure
2.Simplify __HIP_NO_IMAGE_SUPPORT macros
Change-Id: I54ef12a239298c534a213edf39c05c2dad06a7f4
2024-08-08 14:15:38 -04:00
Satyanvesh Dittakavi
42d383619c
SWDEV-465195 - Fix disabled test Unit_hipDrvGetErrorString_Positive_Basic
...
Change-Id: Ifc05f3c5d09266b9eec9ac20a6a3301be00f91d8
2024-08-07 14:22:01 -04:00
Satyanvesh Dittakavi
08f9020343
SWDEV-465152 - Fix and enable the test Unit_hipMemAdvise_AccessedBy_All_Devices
...
Change-Id: I160d67898898251e3aad7f3b58fe4f60e4186ea8
2024-08-07 14:19:35 -04:00
Rakesh Roy
3bec5e988b
SWDEV-472723 - Correct file format
...
- Modify line ending to LF
Change-Id: I2bc840070327b204e2abb118276e2d905c29d096
2024-08-05 19:26:31 +05:30
Marko Arandjelovic
639a9c2996
SWDEV-441603 - Add hipDrvMemcpy2DUnaligned test
...
Change-Id: I44b65867cabeb369fda8a82984fe3f694499942c
2024-08-01 17:44:26 -04:00
Julia Jiang
5d042c80fa
SWDEV-472723 - Correct file format and remove trailing spaces
...
Change-Id: Ie40c763e9391fa36d6c890cd0a171659a1502a83
2024-08-01 15:17:39 -04:00
Branislav Brzak
2b20d3a9af
SWDEV-441600 - Add hipGraphMemFreeNodeGetParams tests
...
Change-Id: I46cc12e9940cf647e3c3dbe4ce87957eb8aa4e33
2024-08-01 14:26:32 -04:00
Branislav Brzak
987c4bb297
SWDEV-441283 - Add hipMemsetD16Async test
...
Change-Id: I66ca44996cfbf061d134ba5c66c3a7211bfcaaa5
2024-08-01 11:16:15 -04:00
Marko Arandjelovic
12a5d4c24c
SWDEV-461794 Fix Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
...
- Fixed wrong assumptions in the test:
- Pinned Host memory to Pinned Host memory is async (before:sync)
- Pinned Host memory to Device is async (before:sync)
Change-Id: Ib826e177854cbcdad04181e245382cf0bec02c46
2024-07-31 14:50:12 -04:00
Marko Arandjelovic
be2ee3b52d
SWDEV-454663 Initialize graph node in test setup
...
Change-Id: Iad44a2d3276e54c7a7d7e58af13e41ff305aa122
2024-07-31 14:45:08 -04:00
Rambabu Swargam
6c35a8cb95
SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
...
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f
2024-07-31 12:06:23 -04:00
Jatin Chaudhary
8ed0c39549
SWDEV-460387 - Use traditional malloc instead of alloc guard
...
The LinearGuard does not seem to play well with the catch macros.
The entry to device pointers seem to be lost from memory map.
Change-Id: Ib8549052f18bcc847dea25cf268e2bcb59e24b25
2024-07-30 14:34:15 -04:00
Tao Sang
3e0b749b76
SWDEV-467540 - Verify awaitCompletion()
...
Update the existing test case to verify
awaitCompletion() for unfinished command.
Change-Id: I0fbcdba9ffb8633d861312c221ac12df1772c6e6
2024-07-30 14:29:35 -04:00