Todd tiantuo Li
bc7d1d9144
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
[ROCm/hip-tests commit: d1d8b1e08e ]
2024-10-23 10:54:34 -04:00
Rupam Chetia
779beb09f2
SWDEV-471105 - [catch2][dtest] Adding functional tests for hipMemPoolExportToShareableHandle, hipMemPoolExportPointer, hipMemPoolImportFromShareableHandle and hipMemPoolImportPointer
...
Change-Id: Ief0f0d7f4c05d741e49eaffa54f11338c4bdc30f
[ROCm/hip-tests commit: 9fd38dd3e1 ]
2024-10-23 02:45:00 -04:00
Rupam Chetia
a214454a2a
SWDEV-468182 - [catch2][dtest] Adding scenarios for hipMemImportFromShareableHandle and hipMemExportToShareableHandle
...
Change-Id: I46e2bb60acc354c2db02a150848d9be4386bff30
[ROCm/hip-tests commit: 2eb6754de5 ]
2024-10-23 02:35:31 -04:00
Marko Arandjelovic
34d13b7ec1
SWDEV-441278 - Add hipHostFree test
...
Change-Id: Ibb78f3d36aa35bf75329adf65f19da5977a965f3
[ROCm/hip-tests commit: bac782e398 ]
2024-10-23 01:04:44 -04:00
Sebastian Luzynski
94389a73d5
SWDEV-441598 - Add tests for hiprtcLinkDestroy
...
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com >
Change-Id: Icb73543a72eaf1a0ee59b702c6f4bf5be7cbeb36
[ROCm/hip-tests commit: eec4fec7d4 ]
2024-10-18 04:06:31 -04:00
Marko Arandjelovic
2bdaaa8b8c
SWDEV-475688 - Add unit test for hipHostAlloc
...
Change-Id: Id414d16651529983674b4f90391e0913feab0440
[ROCm/hip-tests commit: b0943c82ca ]
2024-10-17 17:59:53 -04:00
sdashmiz
4432d9458f
SWDEV-462585 - Add initial test for hipStreamLegacy
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Idf38f2e8c49e9011ede73e6222db68ccdc74ed80
[ROCm/hip-tests commit: 4e4cde6d70 ]
2024-10-15 11:11:12 -04:00
taosang2
4b0437de28
SWDEV-482059 SWDEV-476745 - Add image support check
...
Add image support check before hipMallocArray().
Change-Id: I9efed88d791ee1b2b4465286b3341b821f7bf628
[ROCm/hip-tests commit: b4694a6bab ]
2024-10-09 11:29:28 -04:00
Rahul Manocha
f74c5c4972
SWDEV-468039 - Add Catch Test for fp8 OCP type conversions
...
Change-Id: I2648909483b8dc32fcd720c18608c5ca32399045
[ROCm/hip-tests commit: e3e662b52b ]
2024-09-25 12:00:52 -04:00
Jatin Chaudhary
d28d65607a
SWDEV-411880 - Fix test device malloc
...
Unit_deviceAllocation_Malloc_ComplexDataType
Change-Id: I8d5c3a9c63e74ffc90ddf6b89729603236a88fcf
[ROCm/hip-tests commit: f62e3df454 ]
2024-09-24 14:45:40 -04:00
taosang2
2bfe34ad91
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
[ROCm/hip-tests commit: 352932738a ]
2024-09-24 14:39:57 -04:00
Rahul Manocha
51620a1bb6
[SWDEV-467733] - Set Cache Config Negative Param test fix
...
Change-Id: I058ca23a05e63aaaa54ea22e2b509593764cd7bc
[ROCm/hip-tests commit: 4e99f68b03 ]
2024-09-24 12:26:35 -04:00
Marko Arandjelovic
a52b3a0e52
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
[ROCm/hip-tests commit: e35cc19aaf ]
2024-09-23 14:55:23 -04:00
Marko Arandjelovic
3481fe67d1
SWDEV-454656 Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic
...
Pitch cannot be lower then width
Change-Id: I929672fad4ca62d21ffd7bfec8bbc837e7bbcee2
[ROCm/hip-tests commit: 6867852a89 ]
2024-09-17 11:57:29 -04:00
Marko Arandjelovic
e2eae18569
SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops
...
Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3
[ROCm/hip-tests commit: a34ae6c8fc ]
2024-09-13 14:49:36 -04:00
Branislav Brzak
0b4e9d98a1
SWDEV-441279 - Add hipMemsetD8Async test
...
Change-Id: Ibcdb2098c45db440c79151b4d7dad6734b16222a
[ROCm/hip-tests commit: 3e945b10f1 ]
2024-09-13 17:30:26 +02:00
Marko Arandjelovic
0f5eb7e1f1
SWDEV-465204 - Fix Unit_hipModuleLaunchKernel_Negative_Parameters
...
Change-Id: I754d1835366f131f44d56da05ac24bc152cbfa47
[ROCm/hip-tests commit: ad5b55a2c4 ]
2024-09-13 10:56:33 -04:00
Marko Arandjelovic
5cc4ae3555
SWDEV-454659 - Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Negative_Parameters
...
Pitch cannot be lower then width
Change-Id: Ib42f036f1158b500ce8892643178469a2ec7dc88
[ROCm/hip-tests commit: 27be56f329 ]
2024-09-13 10:48:14 -04:00
Marko Arandjelovic
d3760dc9b6
SWDEV-465196 - Fix coalesced_group tests
...
Change-Id: I4537e2351273d0c71ff62d34b5002fcb2ecd15e6
[ROCm/hip-tests commit: 850511cc28 ]
2024-09-13 04:29:02 -04:00
Sourabh Betigeri
d3a1881a72
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
[ROCm/hip-tests commit: aaec37314f ]
2024-09-06 11:58:20 -07:00
Vladana Stojiljkovic
e057b9e471
SWDEV-450735 - Add compiler option for using clock64
...
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
[ROCm/hip-tests commit: 5b67a2a4a0 ]
2024-08-29 10:26:11 +02:00
Branislav Brzak
a0197011c1
SWDEV-441294 - Add hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags test
...
Change-Id: Ia45dc367729677e159428960f3970da97047cf06
[ROCm/hip-tests commit: 365dbf738b ]
2024-08-27 05:29:56 -04:00
Marko Arandjelovic
5621df00ef
SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
...
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974
[ROCm/hip-tests commit: d3f42460e8 ]
2024-08-26 13:41:57 -04:00
Jatin Chaudhary
cfe170e4bd
SWDEV-466747 - add shfl tests and increase test coverage
...
Change-Id: Ifd3edb5620fcbd3c3bbd88a0a1280eaac98e0487
[ROCm/hip-tests commit: c96c60c49c ]
2024-08-26 13:27:57 -04:00
SrinivasaRao
7e49ea7a8b
SWDEV-388834 - [catch2][dtest] Module tests migrated from direct to catch2
...
Change-Id: I9a3fbdd4e52bb69ab428b7cfcd478fa0382e7cc9
[ROCm/hip-tests commit: 304b0ac90b ]
2024-08-22 23:39:12 -04:00
victzhan
0ec5e5aeca
SWDEV-473011 - Rename hipMemcpy_old.cc to hipMemcpy_EdgeCases for readability.
...
Change-Id: I1634759aea340ecbb83fcc7c3328918147eeb0e9
[ROCm/hip-tests commit: 9d669b3bea ]
2024-08-20 10:06:13 -04:00
Rahul Manocha
4ea6eb80a1
SWDEV-454315 - Disable test section that segfaults on windows
...
Change-Id: Idaac99c433120d98646417318258bfb375d2f367
[ROCm/hip-tests commit: 6cf941c830 ]
2024-08-14 07:53:29 -04:00
Rakesh Roy
ded8ea3553
SWDEV-472723 - Correct file format
...
- Change line ending from CRLF to LF
Change-Id: Ie75e4bd3c7d58532bc986ec61476ee6f9c5f1f95
[ROCm/hip-tests commit: 9ec381b401 ]
2024-08-13 13:39:48 +05:30
Satyanvesh Dittakavi
4a0e156ae2
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
[ROCm/hip-tests commit: 5f1dfc3851 ]
2024-08-12 13:39:50 -04:00
Branislav Brzak
35782c04bc
SWDEV-441285 - Add hipMemsetD32Async test
...
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0
[ROCm/hip-tests commit: 0c335250f9 ]
2024-08-12 06:43:50 -04:00
Rakesh Roy
1fb27acc57
SWDEV-472723 - Correct file format
...
- Change line ending from CRLF to LF
Change-Id: I4c3cf072f143d6add7ddf66cb8d6d8a1e45f77ab
[ROCm/hip-tests commit: 101981b354 ]
2024-08-12 14:33:17 +05:30
Marko Arandjelovic
66c7eca3ee
SWDEW-441411 - Add hipConfigureCall test
...
Change-Id: I90d9b778d3f53bed20777251f839063431141440
[ROCm/hip-tests commit: b0b04e81be ]
2024-08-09 07:41:15 -04:00
Ioannis Assiouras
44da955774
SWDEV-472309 - Disable hipGetProcAddress tests for static build
...
Change-Id: I7018829557f9e7132b7e4a71b31de5e67ed29218
[ROCm/hip-tests commit: 1bd8e9dcf4 ]
2024-08-08 16:44:12 -04:00
Rahul Manocha
a4a3aa3955
[SWDEV-454315] - Fix for Atomic bitwise ops testcases
...
Change-Id: Ib402c6499ad9218fba89e78c8f91a87ca3537b35
[ROCm/hip-tests commit: 90bafb8ae8 ]
2024-08-08 14:44:23 -04:00
Sourabh Betigeri
125c45af78
SWDEV-435054 - Improves robustness of HIP test
...
Makes the test stronger by hiding
dispatch scheduling latency on MI300
Change-Id: Ic9724f4f1b16f1e707060129327248bbb353df45
[ROCm/hip-tests commit: 787f7f8df1 ]
2024-08-08 14:23:24 -04:00
Ioannis Assiouras
babecfe0be
SWDEV-432951 - Added C unit test
...
Change-Id: I65a1e5be1782fd325cf1cfb74fbd80b4564df9dc
[ROCm/hip-tests commit: 25af4dd1f4 ]
2024-08-08 14:18:15 -04:00
Todd tiantuo Li
14f6363879
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
[ROCm/hip-tests commit: 0ee0e4ab4a ]
2024-08-08 14:15:38 -04:00
Satyanvesh Dittakavi
7df8798269
SWDEV-465195 - Fix disabled test Unit_hipDrvGetErrorString_Positive_Basic
...
Change-Id: Ifc05f3c5d09266b9eec9ac20a6a3301be00f91d8
[ROCm/hip-tests commit: 42d383619c ]
2024-08-07 14:22:01 -04:00
Satyanvesh Dittakavi
7b818b8958
SWDEV-465152 - Fix and enable the test Unit_hipMemAdvise_AccessedBy_All_Devices
...
Change-Id: I160d67898898251e3aad7f3b58fe4f60e4186ea8
[ROCm/hip-tests commit: 08f9020343 ]
2024-08-07 14:19:35 -04:00
Rakesh Roy
28cd7da1dc
SWDEV-472723 - Correct file format
...
- Modify line ending to LF
Change-Id: I2bc840070327b204e2abb118276e2d905c29d096
[ROCm/hip-tests commit: 3bec5e988b ]
2024-08-05 19:26:31 +05:30
Marko Arandjelovic
48ee9f8ae7
SWDEV-441603 - Add hipDrvMemcpy2DUnaligned test
...
Change-Id: I44b65867cabeb369fda8a82984fe3f694499942c
[ROCm/hip-tests commit: 639a9c2996 ]
2024-08-01 17:44:26 -04:00
Julia Jiang
13c5e7a3e4
SWDEV-472723 - Correct file format and remove trailing spaces
...
Change-Id: Ie40c763e9391fa36d6c890cd0a171659a1502a83
[ROCm/hip-tests commit: 5d042c80fa ]
2024-08-01 15:17:39 -04:00
Branislav Brzak
f9bb3c5f74
SWDEV-441600 - Add hipGraphMemFreeNodeGetParams tests
...
Change-Id: I46cc12e9940cf647e3c3dbe4ce87957eb8aa4e33
[ROCm/hip-tests commit: 2b20d3a9af ]
2024-08-01 14:26:32 -04:00
Branislav Brzak
f2083ef57c
SWDEV-441283 - Add hipMemsetD16Async test
...
Change-Id: I66ca44996cfbf061d134ba5c66c3a7211bfcaaa5
[ROCm/hip-tests commit: 987c4bb297 ]
2024-08-01 11:16:15 -04:00
Marko Arandjelovic
5153e57122
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
[ROCm/hip-tests commit: 12a5d4c24c ]
2024-07-31 14:50:12 -04:00
Marko Arandjelovic
fb7d2b3d06
SWDEV-454663 Initialize graph node in test setup
...
Change-Id: Iad44a2d3276e54c7a7d7e58af13e41ff305aa122
[ROCm/hip-tests commit: be2ee3b52d ]
2024-07-31 14:45:08 -04:00
Rambabu Swargam
5a3c71aaea
SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 1
...
Change-Id: I1da8b0d32f5ae49602b9ff062dc888cc6227b88f
[ROCm/hip-tests commit: 6c35a8cb95 ]
2024-07-31 12:06:23 -04:00
Jatin Chaudhary
b1f4db2de8
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
[ROCm/hip-tests commit: 8ed0c39549 ]
2024-07-30 14:34:15 -04:00
Tao Sang
d32df0957c
SWDEV-467540 - Verify awaitCompletion()
...
Update the existing test case to verify
awaitCompletion() for unfinished command.
Change-Id: I0fbcdba9ffb8633d861312c221ac12df1772c6e6
[ROCm/hip-tests commit: 3e0b749b76 ]
2024-07-30 14:29:35 -04:00
taosang2
2a9aa0a14c
SWDEV-469331 - Add data verifing after stream sync.
...
Add data verifing after hipStreamSynchronize() call.
Enable the following in Linux
Unit_hipStreamBeginCaptureToGraph_CaptureDepGraph
Unit_hipStreamBeginCaptureToGraph_IndepGraphsThreads
Remove REQUIRE() in data verifying because it generates
too many assertions and makes "-s" very slow
Change-Id: I0fbcdaa9ffb9633d861312c221ac12df1772c6e5
[ROCm/hip-tests commit: 6edae64a1e ]
2024-07-30 11:50:16 -04:00