Marko Arandjelovic
3809d1bb75
SWDEV-489617 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
...
- Since any-host-to-any-host as always synchronous, there's no need for
separate functions
- Removed 'return' statement as it skips the rest of the test.
Change-Id: If70e0b21ad8151311d5ac7c5de789f6265cf44b6
2025-01-22 10:54:18 -05:00
Rambabu Swargam
c90d83366f
SWDEV-491363 - [catch2][dtest] Add and Enable tests for Graph APIs
...
Details :
1) Add tests for hipDrvGraphExecMemsetNodeSetParams
2) Enable commented tests for hipDrvGraphMemcpyNodeSetParams
Change-Id: Ia4771e1dea022b5f4316b66c0bd585f0f941ab77
2025-01-21 12:59:03 -05:00
taosang2
8a9ed34f6a
SWDEV-474989 - Fix texture filter test issues
...
Change-Id: I9b647aff79ba92f07b2ca18eac49d58ae63fa859
2024-12-23 07:27:18 -05:00
Marko Arandjelovic
9cffda4ebb
SWDEV-485763 - Fix memory leaks in various unit tests
...
Fix memory leaks by adding missing destroy calls for
events, streams, and graphs at the end of tests.
Ensure that every test case executes destroy calls,
regardless of whether it passes or fails.
Change-Id: I814e35c528d90ed2abb34d77377f1a7fd3f1f11c
2024-12-10 10:25:08 -05:00
Vladana Stojiljkovic
9893726343
SWDEV-453145 - Enable _sync tests on nvidia
...
* _sync tests that use warp match functions (__match_any_sync and __match_all_sync) were disabled for nvidia because those functions are supported only on devices with compute capability 7.x or higher. In this solution, tests are always build (with specifying appropriate compile flag) and in in the runtime it is decided weather they should be skipped or not.
Change-Id: Ifa9e55f3b47aa3a00027cb986cd6ae46aed45ebd
2024-12-03 13:49:16 -05:00
Li, Todd tiantuo
9e30678987
SWDEV-472357 - fix 1D, 2D and 3D memCpy tests
...
on sync, stream and setDevice
Change-Id: I19bdb907977338cac67c1e3f6f01cda6f2b97ec6
2024-11-04 11:12:52 -05:00
Vladana Stojiljkovic
70a7d3ab8b
SWDEV-486969 - Add macros for capturing sync APIs
...
Change-Id: I6d348c8b34b29021c281c32aa5a636960e234ccb
2024-11-04 03:52:51 -05:00
taosang2
0a22d14775
SWDEV-451393 - Add kernel execution perf test
...
Add kernel excution perf test per blockSize and block number.
Implement a solution to roughly evaluate gpu variable
frequency based on clock64() and wall_clock64().
Change-Id: Ic87761a862d4a894fdcaab3431d63fe2592bb682
2024-10-23 02:25:07 -04:00
Marko Arandjelovic
aac7b29d78
SWDEV-487395 - Add macros for capturing async APIs
...
Change-Id: Id8647a05f3f483792d9224aaf8a2488c2498c0ba
2024-10-21 09:09:20 -04:00
Vladana Stojiljkovic
5b67a2a4a0
SWDEV-450735 - Add compiler option for using clock64
...
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02: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
Marko Arandjelovic
639a9c2996
SWDEV-441603 - Add hipDrvMemcpy2DUnaligned test
...
Change-Id: I44b65867cabeb369fda8a82984fe3f694499942c
2024-08-01 17:44:26 -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
Ioannis Assiouras
5e26ec0bb1
SWDEV-474159 - Query max LDS in Unit_hipDynamicShared
...
Change-Id: Ie78613ea1a87d69aff4f764368ea7a1893e021f5
2024-07-17 22:17:20 +01:00
taosang2
de9581efb6
SWDEV-465162 - Support ignored error
...
Modified
TestContext::finalizeResults()
Added
HIP_CHECK_IGNORED_RETURN()
HIP_CHECK_ERRORS()
to supported ignored error such as hipErrorNotSupported.
Enable all mipmap tests in catch2 memory folder for linux.
The issues in the following tickets should be fixed.
SWDEV-465162, SWDEV-465163, SWDEV-465165, SWDEV-465166,
SWDEV-465168, SWDEV-465171, SWDEV-465172
Change-Id: I1146d6184582a7111a5af25b52f9e12c6a160e49
2024-07-16 14:44:06 -04:00
sdashmiz
ee6bbb0004
FEAT-60269 - Test for large LDS
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I8f476f1b44324fffcc25423209a632caeb48cb99
2024-07-08 12:07:14 -04:00
Todd tiantuo Li
4163c69fdc
SWDEV-448894 - Correct and align peer access related behavior for memcpy tests
...
Change-Id: I31379836f9066a6b317efc26678302261e4c7a1b
2024-06-26 16:05:28 -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
Rahul Manocha
fead2adf5b
SWDEV-449487 Generate dimensions for multiproc count 2
...
Change-Id: I3728ff49f0b2c292d46307d689066af3f59b455f
2024-04-18 06:22:23 -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
Jaydeep Patel
b45bc412d7
SWDEV-447525 - Zero-initialize hipMemPoolProps.
...
Change-Id: Iee71961bd1d679f0a6a9223e6387748602706c2d
2024-03-15 14:26:00 +00:00
Sebastian Luzynski
53406684ee
SWDEV-447358 - Add build_doc target to hip-tests
...
This change adds a new cmake target to generate test plan documentation using
Doxygen. The target is called build_docs and it's not added to the default
build commands, hence it needs to be called separately.
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com >
Change-Id: I441524568e0513019ca21467950e48a551234802
2024-03-08 04:19:48 -05:00
German Andryeyev
4e3fc2d937
SWDEV-311271 - Reset default mempool state
...
Multiple subtests will fail if the default mem pool will keep information
of the previous subtests.
Change-Id: Ic9ab8ed93771e71735594a85235b5bb734d6680c
2024-03-06 11:04:42 -05:00
Rakesh Roy
57bc68acb1
SWDEV-1 - Merge github PRs to amd-staging
...
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +05:30
Mirza Halilčević
66e2885107
EXSWHTEC-382 - Implement tests for Launch API functions #454
...
Change-Id: I0720758144e89adaa43bcbcc6262dbb16cd4e2be
2024-02-27 22:18:00 +05:30
Mirza Halilcevic
00433d4f87
EXSWHTEC-380 - Implement tests for Virtual Memory Management API functions #448
...
Change-Id: Ic766be69fddd0309f7ad4093465494cc14c7c70b
2024-02-27 16:51:09 +05:30
Nives Vukovic
63c93f95a8
EXSWHTEC-371 - Implement tests for the hipDrvGraphAddMemsetNode API #447
...
Change-Id: I981e14f34b008054d46e61ebae0099792df446b1
2024-02-27 12:30:54 +05:30
Nives Vukovic
6f9f5c07fe
EXSWHTEC-370 - Implement tests for the hipDrvGraph*MemcpyNode APIs #446
...
Change-Id: I956dc06157324e9d6971348a70b600c4a9105538
2024-02-27 12:29:28 +05:30
Mirza Halilčević
0ecb874b52
EXSWHTEC-357 - Implement tests for 1D mipmapped texture device functions #431
...
Change-Id: I74b4bc2a73ec8bbe21460eda8cdc79210fe2501e
2024-02-27 12:12:52 +05:30
Mirza Halilčević
303836a7fd
EXSWHTEC-350 - Implement tests for hipModuleLaunchCooperativeKernel #429
...
Change-Id: I42342c7d4cceed67990f603cd83473fe76e7f856
2024-02-27 12:11:52 +05:30
Nives Vukovic
50031b5c44
EXSWHTEC-338 - Implement tests for half2 type casting intrinsics #422
...
Change-Id: I5492fa7d54573d45bfdb9320e74ccc6ca7640d2d
2024-02-26 22:23:34 +05:30
Milos Mozetic
536c20b62d
EXSWHTEC-314 - Implement unit tests for short vector types #297
...
Change-Id: I609548b79ae45530b0e82c532f93cf1f411343e4
2024-02-26 12:44:06 +05:30
Mirza Halilčević
0972ef88aa
EXSWHTEC-297 - Introduce build dependencies for builtin atomic operations tests #292
...
Change-Id: Ie16d2175e330522c226cde9f30a1f326782a4551
2024-02-26 12:43:08 +05:30
Nives Vukovic
f9cf87fe60
EXSWHTEC-311 - Implement tests for integer type casting intrinsics #285
...
Change-Id: I6e6bee38dad6948d46ba2ce0d5d2e3b27c150d35
2024-02-26 12:38:43 +05:30
Mirza Halilčević
8ef0d724f5
EXSWHTEC-302 - Implement tests for memory fence device functions #276
...
Change-Id: I327527288f90011f09262708dd6372a7c6fc4708
2024-02-26 12:30:10 +05:30
Mirza Halilčević
0e54517f84
EXSWHTEC-303 - Implement tests for synchronization device functions #275
...
Change-Id: Iad0e303b21443615cda6fa68a9e3ef61a452a45c
2024-02-26 12:29:56 +05:30
Dino Music
111497351d
EXSWHTEC-289 - Implement tests for remainder and rounding device math functions #234
...
Change-Id: I8413cfeb0cbf32e2e8369c5b1527c9794a595688
2024-02-23 20:46:17 +05:30
Mirza Halilčević
122403f464
EXSWHTEC-283 - Introduce build dependencies for numerical accuracy tests #233
...
Change-Id: I5381beb47347c24a161113b986fa7f252057ffdb
2024-02-23 20:46:11 +05:30
Mirza Halilcevic
044a59496c
EXSWHTEC-281 - Implement Unit Tests for assert functions #210
...
Change-Id: I6c05915c957d9b67951b3e97cc35cb1ca72a945f
2024-02-23 20:45:53 +05:30
Mirza Halilčević
cf5ebc5990
EXSWHTEC-280 - Implement Unit Tests for launch bounds #209
...
Change-Id: I43af8c66dfcb4926bc29fe936a37d91fef6a0650
2024-02-23 20:44:46 +05:30
Mirza Halilčević
2eb17f0696
EXSWHTEC-262 - Introduce build dependencies for atomic arithmetic operations #180
...
Change-Id: Ic2293f273158613312dc39914da087fc0a462242
2024-02-23 20:44:45 +05:30
Mirza Halilčević
e3bac85a3c
EXSWHTEC-249 - Implement Performance Tests for Memcpy APIs #119
...
Change-Id: Ib04fe4dd3efce92d7c7bfc8f0c75abd8e9dfe7be
2024-02-19 23:36:51 +05:30
Nives Vukovic
4fa177dd2b
EXSWHTEC-259 - Implement new and extend existing tests for thread_block #151
...
Change-Id: I4d85af8e5f805a1c8ff7b7efd3b3400f38343ea9
2024-02-19 23:36:30 +05:30
Mirza Halilčević
053c58ab2d
EXSWHTEC-108 - Implement tests for hipFuncGetAttributes #58
...
Change-Id: I7aa979434724aa3d39343a6c69f67de83e61de4c
2024-02-19 23:30:34 +05:30
Mirza Halilčević
95a954e63a
EXSWHTEC-248 - Implement Performance Tests for Memset APIs #99
...
Change-Id: I6b4a0758299b0fd6d70c75508a4a0d67c62187ff
2024-02-19 23:29:36 +05:30
Mirza Halilčević
cefbaed5cf
EXSWHTEC-217 - Implement new and update existing tests for the hipGraph*MemcpyNode family of APIs #48
...
Change-Id: Iae7ac9c855ba6e3288257e99e49f8b16cebb1bac
2024-02-19 22:58:36 +05:30
Mirza Halilčević
efddf09082
EXSWHTEC-189 - Implement new and update existing tests for the hipGraph*MemcpyNode1D family of APIs #14
...
Change-Id: I0f5e936fee6912ea24cc80c1013cf38ed41ff851
2024-02-19 22:36:19 +05:30
Rakesh Roy
978e165d33
SWDEV-1 - Merge github PRs to amd-staging
...
- https://github.com/ROCm/hip-tests/pull/154
- https://github.com/ROCm/hip-tests/pull/438
- https://github.com/ROCm/hip-tests/pull/425
- https://github.com/ROCm/hip-tests/pull/424
- https://github.com/ROCm/hip-tests/pull/423
- https://github.com/ROCm/hip-tests/pull/365
- https://github.com/ROCm/hip-tests/pull/356
- https://github.com/ROCm/hip-tests/pull/279
- https://github.com/ROCm/hip-tests/pull/274
- https://github.com/ROCm/hip-tests/pull/190
- https://github.com/ROCm/hip-tests/pull/189
- https://github.com/ROCm/hip-tests/pull/188
- https://github.com/ROCm/hip-tests/pull/156
- https://github.com/ROCm/hip-tests/pull/49
- https://github.com/ROCm/hip-tests/pull/439
- https://github.com/ROCm/hip-tests/pull/437
- https://github.com/ROCm/hip-tests/pull/436
- https://github.com/ROCm/hip-tests/pull/435
- https://github.com/ROCm/hip-tests/pull/193
Change-Id: I2529d0baf0f8d47d6215863321720cde2b1a846c
2024-02-19 15:33:25 +05:30
Nives Vukovic
09fc34b982
EXSWHTEC-253 - Implement tests for coalesced_group basic APIs ( #154 )
...
Change-Id: I81854598d8e1ae0b5cff24012e8f381258e0818f
2024-02-15 19:41:25 +05:30
Nives Vukovic
54f0642d76
EXSWHTEC-35 - Implement tests for hipMallocAsync and hipMallocFromPoolAsync ( #438 )
...
Change-Id: I5cc2ec8078d0de3ddc447ba4bdca74a159f77b12
2024-02-15 19:41:25 +05:30