Commit Graph

44 Commits

Author SHA1 Message Date
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
Rakesh Roy 57bc68acb1 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +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
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
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
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 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ć 95a954e63a EXSWHTEC-248 - Implement Performance Tests for Memset APIs #99
Change-Id: I6b4a0758299b0fd6d70c75508a4a0d67c62187ff
2024-02-19 23:29:36 +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
Nives Vukovic 2f783afe8c EXSWHTEC-316 - Implement tests for Complex type functions (#356)
Change-Id: I67d5e1fd02c7e40319f135bc9ae5bbbde85b5ee7
2024-02-15 19:41:24 +05:30
Mirza Halilcevic 7685c9c46a EXSWHTEC-363 - Implement tests for Surface Management APIs (#439)
Change-Id: If354846b04fb48974cd0345f3a317e52b046014f
2024-02-15 19:40:59 +05:30
Nives Vukovic dbc1a9d073 EXSWHTEC-36 - Implement tests for basic hipMemPool APIs (#437)
Change-Id: Ice34feae7675699b04153d6fc3e10297428018b5
2024-02-15 19:39:31 +05:30
Nives Vukovic 7ffbf7f76b EXSWHTEC-364 - Implement tests for hipMemPoolSetGetAccess and hipMemPoolSetGetAttribute APIs (#435)
Change-Id: I9a9bd22f99e2be60608d50fe649e92b3b267f655
2024-02-15 18:45:24 +05:30
Maneesh Gupta f5deb13ce3 SWDEV-1 - Remove extra code added during merge conflict resolution
Change-Id: I57a01c6c92958cabed303fe250dd872b03b07ca4
2023-12-21 05:51:32 +00:00
Mirza Halilcevic f24d2dd934 EXSWHTEC-265 - Implement Tests for Atomic Exchange (#196)
Change-Id: I4d332dcaad2d0a788b6711f5be05ca6d61a9e34b
2023-12-20 10:22:01 +00:00
Nives Vukovic f05f97758e EXSWHTEC-251 - Implement Performance Tests for Stream APIs (#142)
Change-Id: I790d8cadb3a94a220a52c8bdc0a23b1a63931232
2023-12-20 10:22:01 +00:00
vinay birur ea4476770a SWDEV-388833 - [catch2][dtest] p2p tests migrated from dtests to catch2
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/319,

Change-Id: I6024fd5172a9765756938601a30ed0469b5f1d5b
2023-11-24 05:36:34 -05:00
SrinivasaRao 654e9d9200 SWDEV-403479 - [catch2][dtest] Adding Buffered compiler option to Existing Printf Tests
Change-Id: I4fc422bd7d5ee1896743978fe078ac3f8d57e319
2023-11-07 07:25:19 -05:00
ROCm CI Service Account 5d8dda1c38 SWDEV-388833 - [catch2][dtest] Kernel tests migrated from dtests to catch2 (#320)
Change-Id: Ibc0248300b8ce8b58d1025743ab5946721e9d7e5
2023-08-14 20:59:31 +05:30
ROCm CI Service Account 23b02df2a1 SWDEV-385489 - [catch2][dtest] Adding scenarios for hipEventCreateWithFlags() with hipEventDisableSystemFence and default flags (#282)
Change-Id: Ied3dce437f34d793eb3715999125924ff74ff9b8
2023-08-14 20:53:37 +05:30
milos-mozetic 7c7884a2d9 EXSWHTEC-224 - Test cases ID clean up and documentation for Texture Management (#92)
- Update hipBindTextureToMipmappedArray.cc
- Fix build error for undeclared identifier 'ret'
- Disable tests which fail in external CI
2023-08-14 20:45:35 +05:30
milos-mozetic 8412bcb1b3 EXSWHTEC-315 - Implement unit tests for dim3 (#298)
- Implement unit tests for dim3
- Add doxygen comments
2023-07-18 13:02:03 +05:30
nives-vukovic f73d1b21ff EXSWHTEC-304 - Expand and refactor tests for clock device functions (#273)
- Expand and refactor clock device functions
- Add comments and format code
- Fix doxygen test group comments
2023-07-18 13:00:51 +05:30
nives-vukovic 22f3d9034b EXSWHTEC-256 - Implement tests for grid_group APIs (#153)
- Migrate basic Cooperative Groups tests and integrate to catch
- Refactor basic Cooperative Groups tests
- Rename tiled partition related files and fix minor bug
- Add LaunchCooperativeKernal and LaunchCooperativeKernelMultiDevice tests
- Refactor hipCGThreadBlockTileType to use common function
- Fix updated file not added during merge
- Add coalesced_group type tests
- Add coalesced_group shuffle_up and shuffle_down tests
- Add coalesced_group shuffle tests - test fails
- Implement common code for cooperative group tests
- Fixed compilation errror in cooperative_groups_common.hh
- Implement busy wait device function
- Reimplement tests for grid_group APIs
- Add tests for grid_group member and non-member APIs
- Refactor existing test for grid_group sync testing
- Add thread and block dimensions generators
- Add check of grid and block dimensions
- Modify doxygen comments
- Move cpu_grid.h and supporting functions to catch/include
- Use warp_size from properties in grid/block dims generators
- Fix condition for warp size 32 on AMD
- Fix cpu_grid.h for warp function tests
- Add missing include into cpu_grid.h
- Code cleanup
- Fix doxygen comments
- Add missing include in utils header
2023-07-18 12:55:00 +05:30
milos-mozetic 262dc3d072 EXSWHTEC-282 - Implement Unit Tests for channel descriptor create function (#215)
- Implement basic test cases for channel descriptor API
- Fix indentation
- Refactor channel descriptor tests
- Extend the list of FormatNone types
- Implement unit test for 16-Bit Floating-Point channel descriptor
- Regroup vector types and basic types within test cases
- Add builtin types to the size/kind calculation
- Uncomment mistakenly commented tests
- Remove cout from channel_descriptor_common.hh
- Exclude 16-bit floating point tests from NVIDIA build due to the build error for hipCreateChannelDescHalf* functions
- Add doxygen comments and disable tests due to defects
- Fix errors in doxygen comments
- Rename group for channel descriptor
- Modify Copyright header comment
- Apply clang-format
- Use std::is_same_v<> instead of std::is_same<>::value to enhance readability
- Disable failed tests on external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/215
2023-07-09 09:08:20 +05:30
ROCm CI Service Account ee95b284c3 SWDEV-380340 - [catch2][dtest] DynamicLoading tests migrated from direct to catch2 (#346)
Change-Id: I5f82ddd565d4e86270498d2d8b155200ce568849
2023-07-09 08:55:01 +05:30
ROCm CI Service Account a50aaea803 SWDEV-388833 - [catch2][dtest] g++ test migrated from dtests to catch2 (#353)
Change-Id: I6f23fa88dc6066c2c779348c245a1eb69fb807cb
2023-07-09 08:53:17 +05:30
ROCm CI Service Account a461ae2fc9 SWDEV-388834 - [catch2][dtest] Kernel tests migrated from direct to catch2 (#345)
Change-Id: I8d1d7c6d5db018301cd76f2e38b5997ae91c15db
2023-07-08 20:54:42 +05:30
milos-mozetic e103027f81 EXSWHTEC-224 - Test cases ID clean up and documentation for Execution Control (#85)
- Test cases ID clean up and documentation for Execution Control
- Update config_nvidia_linux_common.json
- Disable test which failed on external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/85
2023-07-08 20:50:41 +05:30
milos-mozetic 1af95c5a2a EXSWHTEC-224 - Test cases ID clean up and documentation for Initialization&Version (#83)
- Test cases ID clean up and documentation for Initialization and Version
2023-06-28 15:46:40 +05:30
milos-mozetic 15c91808cc EXSWHTEC-224 - Test cases ID clean up and documentation for Device Memory Access (#88)
- Test cases ID clean up and documentation for Device Memory Access
- Added group for deprecated Context Management
2023-06-28 09:47:04 +05:30
milos-mozetic 93751460f7 EXSWHTEC-224 - Test cases ID clean up and documentation for Error Handling (#72)
- Test cases ID clean up and documentation for Error Handling
2023-06-28 09:45:53 +05:30
milos-mozetic 3969e4a320 EXSWHTEC-224 - Test cases ID clean up and documentation for Event Management (#71)
- Test cases ID clean up and documentation for Event Management
2023-06-28 09:45:15 +05:30
milos-mozetic d0295c4295 EXSWHTEC-224 - Test cases ID clean up and documentation for Device Management (#70)
- Test cases ID clean up and documentation for Device Management
- Adjust doxygen comments to fix bugs
- Adjust defgroup comments for test modules
2023-06-28 09:44:00 +05:30
ROCm CI Service Account 573d14a3bf SWDEV-392791 - [catch2][dtest] Migrating locally available test cases of hipStreamCreateWithPriority() api to Catch2 (#269)
Change-Id: I232f9d2e4d469f8b46639d020b58bbbbcf09a6d4
2023-06-21 15:59:33 +05:30
ROCm CI Service Account 3d63316327 SWDEV-384938 - [catch2][dtest] Warp shuffle function support for half datatypes (#226)
Change-Id: I8fb3f26f51894eaea7824111e3f69deb5da3dde3
2023-05-09 21:47:47 -07:00
milos-mozetic 4dc52105c0 EXSWHTEC-200 - Create documentation detailing groups of tests (#5)
- Customized Doxygen configuration named DoxyfileTests is added, as well as separate header file used for definition of test groups.
- Add support for TEMPLATE_TEST_CASE preprocessing
- Extend the PREDEFINED list to define all macro names to include #if and #ifdef sections in documentation
2022-12-29 13:15:34 +05:30