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

104 Коммитов

Автор SHA1 Сообщение Дата
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
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 5f4af7cde4 SWDEV-393637 - Standardize the way to implement wait mechanism (#316)
Change-Id: I59027667806878191f9c641f27ce47e6f85ba40c
2023-06-21 21:27:36 +05:30
ROCm CI Service Account 849cd91612 SWDEV-360437 - use hipGetLastError() correctly (#295)
removing the unnecessary hipGetLastError since its interfering with subsequent tests

Change-Id: I6f78a265dd7e55c7ac48913eb68be266f9163df5
2023-06-21 16:00:20 +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 2337705b55 SWDEV-366138 - Add surface tests (#309)
Add surface tests
Optimize some codes
Change-Id: I1691b81d597bfd722d561778f919ebf8ca530e89
2023-06-20 16:33:37 -07:00
ROCm CI Service Account 7c56699b2b SWDEV-399416 – remove wiki link (#299)
Remove wiki link from hip_texture_helper.hh

Change-Id: I97116cfdc6f8fc71f0eabc388117921eb12028d7
2023-06-19 22:11:16 -07:00
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
Maneesh Gupta ac4267e21e SWDEV-1 - Fix warnings while building tests (#201)
Change-Id: I7faf3446f8c9dafbbfc6bab4c6c1b756f0e4219d
2023-03-14 21:42:20 +05:30