Commit Graph

104 Commits

Author SHA1 Message Date
Maneesh Gupta 91c9372c33 SWDEV-1 - Remove extra code added during merge conflict resolution
Change-Id: I57a01c6c92958cabed303fe250dd872b03b07ca4


[ROCm/hip-tests commit: f5deb13ce3]
2023-12-21 05:51:32 +00:00
Mirza Halilcevic 6250954456 EXSWHTEC-265 - Implement Tests for Atomic Exchange (#196)
Change-Id: I4d332dcaad2d0a788b6711f5be05ca6d61a9e34b


[ROCm/hip-tests commit: f24d2dd934]
2023-12-20 10:22:01 +00:00
Nives Vukovic 450d7159dd EXSWHTEC-251 - Implement Performance Tests for Stream APIs (#142)
Change-Id: I790d8cadb3a94a220a52c8bdc0a23b1a63931232


[ROCm/hip-tests commit: f05f97758e]
2023-12-20 10:22:01 +00:00
Nives Vukovic 7b29405366 EXSWHTEC-273 - Implement tests for warp shfl_xor and shfl functions #194
Change-Id: I8a87044ff465b0bb39f87faedc995d5052b8205f


[ROCm/hip-tests commit: 55c04d6169]
2023-12-20 10:22:01 +00:00
Jaydeep Patel 2c41a3c2f4 SWDEV-411680 - Create stream after device is set.
Change-Id: I3eec0b6855ff9377fdd5bc34128cac9e4af9ec7f


[ROCm/hip-tests commit: cd6796db58]
2023-12-08 10:23:46 -05:00
vinay birur 33d812e490 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


[ROCm/hip-tests commit: ea4476770a]
2023-11-24 05:36:34 -05:00
taosang2 e070627ea7 SWDEV-364236 - Add layered texture object tests
Add layered array and texture object tests for all
types.

Change-Id: Ifb4d085a526c1ff7d1b7afe528c194d536b99db8


[ROCm/hip-tests commit: a79d6f8361]
2023-11-17 16:16:08 -05:00
SrinivasaRao 5a82d18d6f SWDEV-403479 - [catch2][dtest] Adding Buffered compiler option to Existing Printf Tests
Change-Id: I4fc422bd7d5ee1896743978fe078ac3f8d57e319


[ROCm/hip-tests commit: 654e9d9200]
2023-11-07 07:25:19 -05:00
taosang2 960ef27787 SWDEV-393139 - Add mipmap tests
Add 1D/2D/3D mipmap tests covering necessary data types and
config parameters.

Change-Id: I6079d9f3a2ddf4e42b8a6f7f3902322cfca02cff


[ROCm/hip-tests commit: 07ec2d5a0c]
2023-11-06 08:55:40 -05:00
Konstantin Zhuravlyov 18749eac96 SWDEV-428634 - Fix vla array in hip-tests
Change-Id: I98891d79ac0b141fb0ffda28ffda3dcb3e65c326


[ROCm/hip-tests commit: 03b6ca735f]
2023-10-24 00:46:55 -04:00
Rahul Garg 422d70ffb0 SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit 81a120a5c5.

Reason for revert: Bring back original change.

Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27


[ROCm/hip-tests commit: cf3df12106]
2023-10-16 17:23:01 +05:30
sdashmiz 5760a5449a SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6


[ROCm/hip-tests commit: e161374c31]
2023-10-12 12:09:20 -04:00
Rakesh Roy 81a120a5c5 SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit de3d24df97.

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

Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc


[ROCm/hip-tests commit: fe5206e50a]
2023-10-09 06:31:52 -04:00
taosang2 de3d24df97 SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf


[ROCm/hip-tests commit: 403afae98f]
2023-09-28 12:36:05 -04:00
Jatin Chaudhary 63278e0877 SWDEV-412457 - use proper headers for functionality used in hip-tests
Change-Id: I2ca20c17b4732638bf05e66196c500c5d25de3b2


[ROCm/hip-tests commit: fe4891ad52]
2023-09-26 05:45:55 -04:00
Maneesh Gupta 57ef4d1147 SWDEV-403773 - catch configuration to auto detect and generate json per arch (#413)
Change-Id: Iad8e93157c3acc6fdecf2603fdf6d90416a3c6e4

[ROCm/hip-tests commit: 06398a85b9]
2023-09-07 17:28:49 +05:30
ROCm CI Service Account 904cce8862 SWDEV-411680 - Skip if p2p access is not supported. (#377)
Change-Id: Ib4d49f9cfc92ea05d799b4a7d5e688fe8790c77e

[ROCm/hip-tests commit: fced17ddce]
2023-08-14 21:26:31 +05:30
ROCm CI Service Account 7e125561ef SWDEV-388833 - [catch2][dtest] Kernel tests migrated from dtests to catch2 (#320)
Change-Id: Ibc0248300b8ce8b58d1025743ab5946721e9d7e5

[ROCm/hip-tests commit: 5d8dda1c38]
2023-08-14 20:59:31 +05:30
ROCm CI Service Account a4378fe258 SWDEV-385489 - [catch2][dtest] Adding scenarios for hipEventCreateWithFlags() with hipEventDisableSystemFence and default flags (#282)
Change-Id: Ied3dce437f34d793eb3715999125924ff74ff9b8

[ROCm/hip-tests commit: 23b02df2a1]
2023-08-14 20:53:37 +05:30
milos-mozetic a2ae1bcb87 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

[ROCm/hip-tests commit: 7c7884a2d9]
2023-08-14 20:45:35 +05:30
ROCm CI Service Account d3b771c91d 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

[ROCm/hip-tests commit: 34976df246]
2023-08-14 12:06:14 +05:30
ROCm CI Service Account fa900628f1 SWDEV-404873 - Add double quotes that handles space in path for windows OS. (#371)
Change-Id: I4752072914aded5e39105913f5bd79fcaf4b499b

[ROCm/hip-tests commit: 573aefb652]
2023-07-20 10:17:26 +05:30
ROCm CI Service Account f72821a84d SWDEV-408958 - Use LaunchDelayKernel and modify it to use same kernel based on real time clock for gfx10 and gfx11. (#370)
Change-Id: Iea8a48e8cbfa1745c7d5535dc5820133a4104087

[ROCm/hip-tests commit: 04080c2e2e]
2023-07-20 10:16:56 +05:30
Maneesh Gupta 2a01aa5b4e Update performance_common.hh
Replace std::reduce with std::accumulate due to RHEL build issues.

[ROCm/hip-tests commit: 2c7f3749fb]
2023-07-20 09:55:37 +05:30
milos-mozetic 8b44d2d773 EXSWHTEC-315 - Implement unit tests for dim3 (#298)
- Implement unit tests for dim3
- Add doxygen comments

[ROCm/hip-tests commit: 8412bcb1b3]
2023-07-18 13:02:03 +05:30
nives-vukovic 64167b64c4 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

[ROCm/hip-tests commit: f73d1b21ff]
2023-07-18 13:00:51 +05:30
nives-vukovic d0abae4346 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

[ROCm/hip-tests commit: 22f3d9034b]
2023-07-18 12:55:00 +05:30
milos-mozetic 4c7a0c7bef 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

[ROCm/hip-tests commit: 5fbbdcae68]
2023-07-18 12:53:27 +05:30
milos-mozetic c5b57687b2 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

[ROCm/hip-tests commit: 262dc3d072]
2023-07-09 09:08:20 +05:30
ROCm CI Service Account 6df8431d83 SWDEV-380340 - [catch2][dtest] DynamicLoading tests migrated from direct to catch2 (#346)
Change-Id: I5f82ddd565d4e86270498d2d8b155200ce568849

[ROCm/hip-tests commit: ee95b284c3]
2023-07-09 08:55:01 +05:30
ROCm CI Service Account 15b519869c SWDEV-388833 - [catch2][dtest] g++ test migrated from dtests to catch2 (#353)
Change-Id: I6f23fa88dc6066c2c779348c245a1eb69fb807cb

[ROCm/hip-tests commit: a50aaea803]
2023-07-09 08:53:17 +05:30
ROCm CI Service Account a1346c114a SWDEV-388834 - [catch2][dtest] Kernel tests migrated from direct to catch2 (#345)
Change-Id: I8d1d7c6d5db018301cd76f2e38b5997ae91c15db

[ROCm/hip-tests commit: a461ae2fc9]
2023-07-08 20:54:42 +05:30
milos-mozetic 1bb4348c3b 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

[ROCm/hip-tests commit: e103027f81]
2023-07-08 20:50:41 +05:30
ROCm CI Service Account 011b44b482 SWDEV-393910 - Port gfx940 changes to mainline. (#321)
Change-Id: I77e70bcb15fbd38b1c79c1f68b7e483b2b3e0daf

[ROCm/hip-tests commit: d33ccb3569]
2023-06-29 08:57:51 +05:30
ROCm CI Service Account 58afea607c SWDEV-398174,SWDEV-398655,SWDEV-402054 - Fix runKernelForDuration() for Windows (#333)
Change-Id: If0cb99aa66a132c8228fd0a6bb56fdf644a99eae

[ROCm/hip-tests commit: a6ed21522d]
2023-06-28 21:44:30 +05:30
Mirza Halilčević 6f035718cc 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.

[ROCm/hip-tests commit: c695f1b146]
2023-06-28 20:16:25 +05:30
milos-mozetic 84f4cb0bc1 EXSWHTEC-224 - Test cases ID clean up and documentation for Initialization&Version (#83)
- Test cases ID clean up and documentation for Initialization and Version

[ROCm/hip-tests commit: 1af95c5a2a]
2023-06-28 15:46:40 +05:30
Mirza Halilčević 498662a131 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.

[ROCm/hip-tests commit: 113a36c0eb]
2023-06-28 12:50:42 +05:30
ROCm CI Service Account be8a0d7d2c SWDEV-389689 - Rework oversubscription test to use threads instead of process. Also consider system memory when oversubscribing (#317)
Change-Id: If063552e9e2815f07e944259237310f6fef37ad5

[ROCm/hip-tests commit: 329a350ec0]
2023-06-28 12:47:48 +05:30
milos-mozetic 16eee59975 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

[ROCm/hip-tests commit: 15c91808cc]
2023-06-28 09:47:04 +05:30
milos-mozetic 86a80099b5 EXSWHTEC-224 - Test cases ID clean up and documentation for Error Handling (#72)
- Test cases ID clean up and documentation for Error Handling

[ROCm/hip-tests commit: 93751460f7]
2023-06-28 09:45:53 +05:30
milos-mozetic b2829b49de EXSWHTEC-224 - Test cases ID clean up and documentation for Event Management (#71)
- Test cases ID clean up and documentation for Event Management

[ROCm/hip-tests commit: 3969e4a320]
2023-06-28 09:45:15 +05:30
milos-mozetic a8f65237eb 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

[ROCm/hip-tests commit: d0295c4295]
2023-06-28 09:44:00 +05:30
ROCm CI Service Account 1a351b31f4 SWDEV-393637 - Standardize the way to implement wait mechanism (#316)
Change-Id: I59027667806878191f9c641f27ce47e6f85ba40c

[ROCm/hip-tests commit: 5f4af7cde4]
2023-06-21 21:27:36 +05:30
ROCm CI Service Account 2ff66ee54b SWDEV-360437 - use hipGetLastError() correctly (#295)
removing the unnecessary hipGetLastError since its interfering with subsequent tests

Change-Id: I6f78a265dd7e55c7ac48913eb68be266f9163df5

[ROCm/hip-tests commit: 849cd91612]
2023-06-21 16:00:20 +05:30
ROCm CI Service Account 4ba3a31215 SWDEV-392791 - [catch2][dtest] Migrating locally available test cases of hipStreamCreateWithPriority() api to Catch2 (#269)
Change-Id: I232f9d2e4d469f8b46639d020b58bbbbcf09a6d4

[ROCm/hip-tests commit: 573d14a3bf]
2023-06-21 15:59:33 +05:30
ROCm CI Service Account 3048c339ab SWDEV-366138 - Add surface tests (#309)
Add surface tests
Optimize some codes
Change-Id: I1691b81d597bfd722d561778f919ebf8ca530e89


[ROCm/hip-tests commit: 2337705b55]
2023-06-20 16:33:37 -07:00
ROCm CI Service Account 85129ca201 SWDEV-399416 – remove wiki link (#299)
Remove wiki link from hip_texture_helper.hh

Change-Id: I97116cfdc6f8fc71f0eabc388117921eb12028d7

[ROCm/hip-tests commit: 7c56699b2b]
2023-06-19 22:11:16 -07:00
ROCm CI Service Account f97fcfb153 SWDEV-384938 - [catch2][dtest] Warp shuffle function support for half datatypes (#226)
Change-Id: I8fb3f26f51894eaea7824111e3f69deb5da3dde3


[ROCm/hip-tests commit: 3d63316327]
2023-05-09 21:47:47 -07:00
Maneesh Gupta 76bf03c9c7 SWDEV-1 - Fix warnings while building tests (#201)
Change-Id: I7faf3446f8c9dafbbfc6bab4c6c1b756f0e4219d

[ROCm/hip-tests commit: ac4267e21e]
2023-03-14 21:42:20 +05:30