Commit Graph

1094 Commits

Author SHA1 Message Date
kjayapra-amd fa69fa731c SWDEV-322620 - Tests are disabled at .json level, no need to disabled with MACRO at compile time.
Change-Id: I1455b7fc9ac7011bd0430adf78864c7fb13a69dc


[ROCm/hip-tests commit: 6d8e62c0e3]
2023-12-19 08:21:13 -05:00
Rakesh Roy cf3d4a1162 SWDEV-434211, SWDEV-437982 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux during PSDB stress testing

Change-Id: I1711d2d67afd3d23a27f84684a06602236cece45


[ROCm/hip-tests commit: 24e2f429ca]
2023-12-18 20:49:43 +05:30
Rupam Chetia 9b9c1cd34c SWDEV-322620 - [catch2][dtest] Adding test for VMM APIs
Change-Id: Ia4dea28601b3c2f0163012a7a2ceb14d3a0c369b


[ROCm/hip-tests commit: de348d8b35]
2023-12-16 07:28:16 -05:00
Rahul Manocha 2d432c1ca6 SWDEV-431345 - CMake build flow for hip samples 16,17
Change-Id: I7bfc8600511c78d8c73aa526f9846cd268651279


[ROCm/hip-tests commit: f0b5b20466]
2023-12-15 09:02:23 -05:00
Jatin Chaudhary bf7b7e6809 SWDEV-428670 - Delete hipStream*Performance tests
This class of tests can fail randomnly since they assume that time to
create first set of stream should be greater than second set. This is
incorrect since there can be multiple reason why the time for second
batch can be greater than the first batch.

Change-Id: I5f91c2bab7119608014dead25fdeb38523c61682


[ROCm/hip-tests commit: 39aeb7b42e]
2023-12-13 17:12:16 +00:00
Jatin Chaudhary 9aa4fe7847 SWDEV-427756 - Remove Unit_hipApiLinkUnusedLibs test
Reasoning: The test assumes hipcc to be present, which might not be the
case on platforms running hip-tests. This test assumes only one type of
GPU present, iGPUs can mess the test up. It also assumes write access
inside the folder its executing, which might not be the case and lastly
it relies on a behavior of HIP which has changed a few times which is
how does a HIP application behave when code object in an exe does not
match the gpu isa. Also work on SWDEV-365241 might render this redundant,
incases where you try to run gfx1032 on gfx1030.

Change-Id: Ie99bdf7caef47e449e3d19c138af47ab82f73d2b


[ROCm/hip-tests commit: da6e008456]
2023-12-13 11:51:29 -05:00
Rahul Manocha 6ed9ba879b SWDEV-437139 hip sample 22 fix
Change-Id: Icb7a9d759e62dab95399c81e2b68ff2cd8c24c0b


[ROCm/hip-tests commit: 1a2f1eb11c]
2023-12-12 17:34:07 +00:00
Nives Vukovic 8c4b2675cc EXSWHTEC-173 - Implement tests for Graph Node dependencies APIs (#50)
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/50

Change-Id: I65707d9d0bfa12c08d82779c1402215f22d7815b


[ROCm/hip-tests commit: 91ee1399df]
2023-12-08 10:28:47 -05:00
Jatin Chaudhary 3057d60aec SWDEV-429802 - add address sanitizer build option to hip-tests
Change-Id: I5662e1d7a08c81239e043ddc7b48853a414a3556


[ROCm/hip-tests commit: 7cfc4a3664]
2023-12-08 10:25:29 -05: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
Ioannis Assiouras d614ceced0 SWDEV-433317 - Added compilation flag to report an error if vla is used
Change-Id: I8a03e1fece88ec52261c53684c9f66bbfc401a12


[ROCm/hip-tests commit: 3ae4d80e86]
2023-12-05 17:53:18 -05:00
Rahul Manocha b821fdbfba [SWDEV-431345][SWDEV-432633] toplevel cmake for hip samples
Change-Id: If22e7e96604f184458cc6ab6bb9945152f9359e0


[ROCm/hip-tests commit: 7481de706f]
2023-12-05 11:36:15 -05:00
Satyanvesh Dittakavi 6259d20646 SWDEV-419480 - Disable the hiprtc std headers test
The corresponding change https://gerrit-git.amd.com/c/compute/ec/clr/+/940530
in clr is being reverted. This test can be enabled when this change
is reintroduced.

Change-Id: I7787d576b59b9000d43042ec5553219e748b0ae0


[ROCm/hip-tests commit: 4a60fe5fd1]
2023-12-05 08:09:56 +00:00
Maneesh Gupta 38bd0db481 SWDEV-388833 - Fix potential build issues with gcc tests
Change-Id: I53c109ebaed60b085069d862d87ac8a3597331c5


[ROCm/hip-tests commit: da89b3e76e]
2023-11-30 01:19:22 -05:00
Rakesh Roy 16691f6e85 SWDEV-425678 - Fix build failure in HIP samples
- Due to file reorg path changes cmake fails at find_package(hip) unless CMAKE_PREFIX_PATH is set explicitly
- Update CMakeLists.txt to set CMAKE_PREFIX_PATH
- Update Readme

Change-Id: Ibdb4419efcdd6583b059a728e48dfdb8f927a48b


[ROCm/hip-tests commit: 4dfa7ca7e6]
2023-11-27 12:56:29 -05:00
Tao Sang e84ad1b0d7 SWDEV-409658 - Enable some stream value tests
Enable the following tests
  Unit_hipStreamValue_Wait64_Blocking_NoMask_And
  Unit_hipStreamValue_Wait64_Blocking_NoMask_Nor
  Unit_hipStreamValue_Wait32_Blocking_NoMask_Nor
Relatetd tickets: SWDEV-409658, SWDEV-409602,
SWDEV-409596

Change-Id: I98891d79ac0b141fbaffda29ffda3dcb3e65c327


[ROCm/hip-tests commit: d04b8bf458]
2023-11-27 09:43:41 -05:00
vinay birur dd4065b1fd SWDEV-388833 - [catch2][dtest] gcc tests migrated to catch2
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/359

Change-Id: I3c0330cd1585a49531968f295ecee12227ebaee2


[ROCm/hip-tests commit: 0fcf383c36]
2023-11-27 06:59:16 -05:00
Rakesh Roy 284f94a239 SWDEV-389650: Remove Unit_hipGraphRetainUserObject_Functional_2 from disabled tests
- Fix has been added to fix Unit_hipGraphRetainUserObject_Functional_2
- Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/338

Change-Id: Ic8542c1d542b87360cc6037003c32052fff38443


[ROCm/hip-tests commit: 2ecfc56b6f]
2023-11-26 03:54:24 -05:00
mbhiutra aecf96918f SWDEV-415965 - [catch2][dtest] Added test for hip Math Constants
Change-Id: I6fbfc88d9e8d7708d7323a7708b03a7f5998db41


[ROCm/hip-tests commit: 51b354a25f]
2023-11-24 06:00:01 -05:00
Jaydeep Patel 720038c5b3 SWDEV-362372 - Enable Unit_hipStreamWaitEvent_UninitializedStream_Negative.
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/220

Change-Id: I232de264ac0385513f66f289a081ed6e03d181dd


[ROCm/hip-tests commit: a18d7bc316]
2023-11-24 05:41:01 -05:00
sdashmiz 51af8b6515 SWDEV-389652 - re-enable user obj with child graph
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/340

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


[ROCm/hip-tests commit: ba8d4d2c61]
2023-11-24 05:40:02 -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
Ioannis Assiouras bcd84a5201 SWDEV-391727 - Unit_hipMemRangeGetAttribute_TstCountParam
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/399

Change-Id: I80c11d549b4f6e66ecea2b676d32fba9d7929e49


[ROCm/hip-tests commit: ab80259b3c]
2023-11-24 01:50:45 -05:00
Jatin Chaudhary bae9739c15 SWDEV-411156 - Add basic tests for fp16
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/384

Change-Id: Ie4f00ebd198c8689d34757a3c27aaddb85d15370


[ROCm/hip-tests commit: 51c5b7b612]
2023-11-22 20:58:37 +05:30
Ioannis Assiouras af570d8d63 SWDEV-433143 - Changes VLA to std::vector in hipDeviceGetUuid
Change-Id: I7251b6a6e8efa7d4051c50422c0022623862d8ae


[ROCm/hip-tests commit: 9c0686dded]
2023-11-20 10:08:16 +00: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
taosang2 3bcee40ac1 SWDEV-313387 - Port CTS SVM atomic tests to Hip
Change-Id: I32c9bed860ddf4fe1d7bba21dce9bd728168c398


[ROCm/hip-tests commit: f425bee1dc]
2023-11-17 12:47:49 -05:00
taosang2 9ead75d6a1 SWDEV-431104 - Add pcie atomic in hipinfo
Add hostNativeAtomicSupported property into
hipinfo.

Change-Id: I606226705cd440c1742e0eac4840f7b189d69148


[ROCm/hip-tests commit: a115fcc189]
2023-11-17 12:31:37 -05:00
Rahul Manocha 9941cb9c48 SWDEV-431064 catch test perf_test target compilation fix
Change-Id: I7de355c0d8ffd60ae05851e94c6e1a08ad655fd8


[ROCm/hip-tests commit: c5fa5e683f]
2023-11-17 06:34:32 -05:00
Jaydeep Patel d4e5dfa942 SWDEV-425248 - numerous bug fixes
https://gerrit-git.amd.com/c/compute/ec/clr/+/849086 changed stream sync behaviour and accordingly updated Unit_hipStreamCreateWithFlags_DefaultStreamInteraction.
Update error code to match for hipStreamWaitEvent.
Thread detach makes executions all async and while that is happening, It is unexpected effect for device reset so join thread is better.

Change-Id: I1affa84089626dee478d8bcc5aaa318e320fd6b0


[ROCm/hip-tests commit: be88e1dffc]
2023-11-17 06:30:38 -05:00
Rahul Manocha e96f828db3 SWDEV-428567 Perf Catch Test for new hipMemcpyKind
Change-Id: I215d5465c6e538deecf99e735f6bcf67e159841b


[ROCm/hip-tests commit: 0f3750cf2c]
2023-11-17 06:28:17 -05:00
SrinivasaRao 08a03524d7 SWDEV-416449 - [catch2][dtest] Functional test cases for the memory type attribute of hipPointerGetAttributes() API
Change-Id: I7d0dc9f9a646ee3ea5aaa0d7f416817594ad7409


[ROCm/hip-tests commit: c866e654da]
2023-11-17 06:27:40 -05:00
SrinivasaRao 812234df9e SWDEV-416343 - [catch2][dtest] Functional test cases for the hipDeviceGetUuid() API
Change-Id: I6c75f8282d6d78cdee224e018f3e70bfd5512a03


[ROCm/hip-tests commit: be7fdcb72c]
2023-11-17 06:26:35 -05:00
mbhiutra 0e5e2ec2f7 SWDEV-403471 - [catch2][dtest] Conversion of preftests to catch2
Change-Id: I68cb780a71a6094dca86718e7d427806d3a0e67d


[ROCm/hip-tests commit: b0c4a4f70f]
2023-11-17 06:24:57 -05:00
Jatin Chaudhary 143ef3f742 SWDEV-431399 - fix first set of memory leaks in tests
Change-Id: I73254b2f17df69726110070ebb457df14d647f27


[ROCm/hip-tests commit: 96cf008176]
2023-11-17 06:23:49 -05:00
Tao Sang aa4aaec7fb SWDEV-428198 - Improve vector operator test
Add back hipVectorTypesDeviceTest.cc
Rename hipVectorTypes.cc as hipVectorTypesHost.cc
Fix some bugs in compiling.
Related to SWDEV-426270 as well.

Change-Id: I95af838136b114d776423442253e8c742a8d69e5


[ROCm/hip-tests commit: d26d5cf992]
2023-11-17 06:19:20 -05:00
Jaydeep Patel 5b34e31097 SWDEV-425213 - On windows, Max memory that can be allocated using hipHostMalloc = 90% of (availgpumem - 256mb).
Change-Id: I20b2619d582c162ec446f3cf98bcd3a9e5d57243


[ROCm/hip-tests commit: 5d4c30ff25]
2023-11-17 06:14:13 -05:00
Jaydeep Patel 67ba110e4f SWDEV-425248 - Fix Unit_ChannelDescriptor_Positive for long.
Limit checks for long based on __LP64__ macro.
Changes are required after below PR got merged.
https://gerrit-git.amd.com/c/compute/ec/clr/+/870326

Change-Id: I51cbaf087a7ba98a441348a13091b92dbb97df21


[ROCm/hip-tests commit: e5d82f128d]
2023-11-17 06:01:10 -05:00
Rahul Manocha b6ffd24006 SWDEV-428567 - Catch Test for hipMemcpyDeviceToDeviceNoCU
Change-Id: I8769053eec2b8345023f78f730a1c28df3a1bda6


[ROCm/hip-tests commit: 12c49096d6]
2023-11-17 05:59:00 -05:00
Sourabh Betigeri 811aed70ed SWDEV-427356 - Workaround to fix a bug that causes soft hang of cooperative group tests
Change-Id: I57e2b51acc9443c1bd036f3d0d5c047989ceef82


[ROCm/hip-tests commit: 559b335208]
2023-11-17 05:52:00 -05:00
Rakesh Roy e0ea6b43a4 SWDEV-432250, SWDEV-431191, SWDEV-432554, SWDEV-432556 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux & Windows during PSDB stress testing

Change-Id: I29e9649b30809018410df819f295887fbf968042


[ROCm/hip-tests commit: 6196d105b3]
2023-11-17 01:39:08 +05:30
Pravin Jagtap 410e83c482 SWDEV-420786 [catch2] Added tests for global atomics.
Change-Id: Ic708e056e3a8ba8c440479539b73c5ce5fe8fe1b


[ROCm/hip-tests commit: 8ba1245414]
2023-11-08 23:07:41 -04:00
SrinivasaRao b89abad54b SWDEV-403479 - [catch2][dtest] Functional test cases for the buffered printf feature
Change-Id: I66cf154ded8297f8f70147a4d051223a8ec008d1


[ROCm/hip-tests commit: 0f73dd37e6]
2023-11-08 01:44:59 -05:00
Ioannis Assiouras 3240afb7e1 SWDEV-431291 - Convert variable length arrays to vectors.
In test hipGraphPerf.cc. Using variable length arrays can raise an error
if -Wvla-cxx-extension is enabled.

Change-Id: I66542885b115c53b90348dba1964ffd1b0f3bd9a


[ROCm/hip-tests commit: 5546c951b8]
2023-11-07 15:46:04 +00:00
German Andryeyev 6596324b3d SWDEV-430748 - Fix/update hipPerfMemset test
Correct the size of allocated buffers.
Extend the number of executed tests
Make sure warm-up finishes, before starting the test
Use a non-blocking stream for Async tests
Align up the output with results

Change-Id: Ie107fd83c0a95dacb537d8bca0b534cf6a6d5032


[ROCm/hip-tests commit: 9971540ac8]
2023-11-07 09:47:27 -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
Jatin Chaudhary 3a4f3e5fab SWDEV-411064 - check if image is supported before running image specific tests
Also fix CU Mask test.

Change-Id: I0fbb93a1bcce131e0f98dee7cd5da9704d2ca8ac


[ROCm/hip-tests commit: e605151eb1]
2023-11-07 01:05:01 -05:00
Rakesh Roy e3561a0c77 SWDEV-430387, SWDEV-430116 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux & Windows during PSDB stress
  testing

Change-Id: I240d5c242e68946899e01c516fa7c4689fbc68f2


[ROCm/hip-tests commit: 8773e3a90a]
2023-11-06 13:22:42 -05:00
Todd tiantuo Li a9d8ab99a1 SWDEV-425217 - disable StreamCreate Performance tests since they may fail on all configs
Change-Id: I69f6dfdd3814089480525dce296be93dcef20cb9


[ROCm/hip-tests commit: 96b85efe72]
2023-11-06 11:49:53 -05:00
mbhiutra 0c131f116b SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphExecUpdate API
Change-Id: I6f6b542783104895f85ab0a1fe6808556435aa2c


[ROCm/hip-tests commit: 6927bd31ec]
2023-11-06 09:23:44 -05:00