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

113 Коммитов

Автор SHA1 Сообщение Дата
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
Nives Vukovic 2f783afe8c EXSWHTEC-316 - Implement tests for Complex type functions (#356)
Change-Id: I67d5e1fd02c7e40319f135bc9ae5bbbde85b5ee7
2024-02-15 19:41:24 +05:30
Nives Vukovic 9b96b707ee EXSWHTEC-267 - Implement tests for multi_grid_group APIs (#156)
Change-Id: I2820ec19831f0dad3b8ce60172c86791f274107e
2024-02-15 19:41:22 +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
Nives Vukovic 55c04d6169 EXSWHTEC-273 - Implement tests for warp shfl_xor and shfl functions #194
Change-Id: I8a87044ff465b0bb39f87faedc995d5052b8205f
2023-12-20 10:22:01 +00:00
Jaydeep Patel cd6796db58 SWDEV-411680 - Create stream after device is set.
Change-Id: I3eec0b6855ff9377fdd5bc34128cac9e4af9ec7f
2023-12-08 10:23:46 -05: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
taosang2 a79d6f8361 SWDEV-364236 - Add layered texture object tests
Add layered array and texture object tests for all
types.

Change-Id: Ifb4d085a526c1ff7d1b7afe528c194d536b99db8
2023-11-17 16:16:08 -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
taosang2 07ec2d5a0c SWDEV-393139 - Add mipmap tests
Add 1D/2D/3D mipmap tests covering necessary data types and
config parameters.

Change-Id: I6079d9f3a2ddf4e42b8a6f7f3902322cfca02cff
2023-11-06 08:55:40 -05:00
Konstantin Zhuravlyov 03b6ca735f SWDEV-428634 - Fix vla array in hip-tests
Change-Id: I98891d79ac0b141fb0ffda28ffda3dcb3e65c326
2023-10-24 00:46:55 -04:00
Rahul Garg cf3df12106 SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit fe5206e50a.

Reason for revert: Bring back original change.

Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27
2023-10-16 17:23:01 +05:30
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
Rakesh Roy fe5206e50a SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 403afae98f.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc
2023-10-09 06:31:52 -04:00
taosang2 403afae98f SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf
2023-09-28 12:36:05 -04:00
Jatin Chaudhary fe4891ad52 SWDEV-412457 - use proper headers for functionality used in hip-tests
Change-Id: I2ca20c17b4732638bf05e66196c500c5d25de3b2
2023-09-26 05:45:55 -04:00
Maneesh Gupta 06398a85b9 SWDEV-403773 - catch configuration to auto detect and generate json per arch (#413)
Change-Id: Iad8e93157c3acc6fdecf2603fdf6d90416a3c6e4
2023-09-07 17:28:49 +05:30
ROCm CI Service Account fced17ddce SWDEV-411680 - Skip if p2p access is not supported. (#377)
Change-Id: Ib4d49f9cfc92ea05d799b4a7d5e688fe8790c77e
2023-08-14 21:26:31 +05:30
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
ROCm CI Service Account 34976df246 SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d
2023-08-14 12:06:14 +05:30
ROCm CI Service Account 573aefb652 SWDEV-404873 - Add double quotes that handles space in path for windows OS. (#371)
Change-Id: I4752072914aded5e39105913f5bd79fcaf4b499b
2023-07-20 10:17:26 +05:30
ROCm CI Service Account 04080c2e2e SWDEV-408958 - Use LaunchDelayKernel and modify it to use same kernel based on real time clock for gfx10 and gfx11. (#370)
Change-Id: Iea8a48e8cbfa1745c7d5535dc5820133a4104087
2023-07-20 10:16:56 +05:30
Maneesh Gupta 2c7f3749fb Update performance_common.hh
Replace std::reduce with std::accumulate due to RHEL build issues.
2023-07-20 09:55:37 +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 5fbbdcae68 EXSWHTEC-231 - Implement custom Benchmarking tool for Performance tests (#117)
- Introduce performance tests to project.
- Improve benchmarking utilities.
- Delete copy constructors from Timer and Benchmark classes.
- Disable Catch2's benchmarking functionalities.
- Address review comments and add progress bar/display output to the Benchmarking tool
- Add flushing of the buffer on the benchmark name display
- Introduce command line options.
- Add allocation type to string helper function.
- Add output modifier to Benchmark class.
- Fix invalid calculation of deviation
- Update performance_common.hh
- Resolve build error on Windows by adding include for reduce and accumulate
2023-07-18 12:53:27 +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
ROCm CI Service Account d33ccb3569 SWDEV-393910 - Port gfx940 changes to mainline. (#321)
Change-Id: I77e70bcb15fbd38b1c79c1f68b7e483b2b3e0daf
2023-06-29 08:57:51 +05:30
ROCm CI Service Account a6ed21522d SWDEV-398174,SWDEV-398655,SWDEV-402054 - Fix runKernelForDuration() for Windows (#333)
Change-Id: If0cb99aa66a132c8228fd0a6bb56fdf644a99eae
2023-06-28 21:44:30 +05:30
Mirza Halilčević c695f1b146 EXSWHTEC-103 - Implement tests for hipDrvMemcpy3D APIs (#56)
- Implement basic behavior checks in all copy directions
- Implement synchronization behavior checks for expected behavior based on cuda docs
- Implement positive tests for zero sized width and/or height copies, where no copy is expected to happen
- Implement negative parameter tests
- Implement all of the above for hipDrvMemcpy3D and hipDrvMemcpy3DAsync.
- Disable failing tests on AMD.
- Fix copyright disclaimer.
- Add defect issue numbers.
2023-06-28 20:16:25 +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
Mirza Halilčević 113a36c0eb EXSWHTEC-98 - Implement tests for hipMemcpy3D APIs (#55)
- Implement tests for hipMemcpy3D APIs
- Implement basic behavior checks in all copy directions
- Implement synchronization behavior checks for expected behavior based on cuda docs
- Implement positive tests for zero sized width and/or height copies, where no copy is expected to happen
- Implement negative parameter tests
- Implement all of the above for hipMemcpy3D and hipMemcpy3DAsync.
- Disable failing tests on AMD.
- Fix copyright disclaimer.
2023-06-28 12:50:42 +05:30
ROCm CI Service Account 329a350ec0 SWDEV-389689 - Rework oversubscription test to use threads instead of process. Also consider system memory when oversubscribing (#317)
Change-Id: If063552e9e2815f07e944259237310f6fef37ad5
2023-06-28 12:47:48 +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