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

1187 Коммитов

Автор SHA1 Сообщение Дата
Rahul Manocha 7481de706f [SWDEV-431345][SWDEV-432633] toplevel cmake for hip samples
Change-Id: If22e7e96604f184458cc6ab6bb9945152f9359e0
2023-12-05 11:36:15 -05:00
Satyanvesh Dittakavi 4a60fe5fd1 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
2023-12-05 08:09:56 +00:00
Maneesh Gupta da89b3e76e SWDEV-388833 - Fix potential build issues with gcc tests
Change-Id: I53c109ebaed60b085069d862d87ac8a3597331c5
2023-11-30 01:19:22 -05:00
Rakesh Roy 4dfa7ca7e6 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
2023-11-27 12:56:29 -05:00
Tao Sang d04b8bf458 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
2023-11-27 09:43:41 -05:00
vinay birur 0fcf383c36 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
2023-11-27 06:59:16 -05:00
Rakesh Roy 2ecfc56b6f 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
2023-11-26 03:54:24 -05:00
mbhiutra 51b354a25f SWDEV-415965 - [catch2][dtest] Added test for hip Math Constants
Change-Id: I6fbfc88d9e8d7708d7323a7708b03a7f5998db41
2023-11-24 06:00:01 -05:00
Jaydeep Patel a18d7bc316 SWDEV-362372 - Enable Unit_hipStreamWaitEvent_UninitializedStream_Negative.
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/220

Change-Id: I232de264ac0385513f66f289a081ed6e03d181dd
2023-11-24 05:41:01 -05:00
sdashmiz ba8d4d2c61 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
2023-11-24 05:40:02 -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
Ioannis Assiouras ab80259b3c SWDEV-391727 - Unit_hipMemRangeGetAttribute_TstCountParam
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/399

Change-Id: I80c11d549b4f6e66ecea2b676d32fba9d7929e49
2023-11-24 01:50:45 -05:00
Jatin Chaudhary 51c5b7b612 SWDEV-411156 - Add basic tests for fp16
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/384

Change-Id: Ie4f00ebd198c8689d34757a3c27aaddb85d15370
2023-11-22 20:58:37 +05:30
Ioannis Assiouras 9c0686dded SWDEV-433143 - Changes VLA to std::vector in hipDeviceGetUuid
Change-Id: I7251b6a6e8efa7d4051c50422c0022623862d8ae
2023-11-20 10:08:16 +00: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
taosang2 f425bee1dc SWDEV-313387 - Port CTS SVM atomic tests to Hip
Change-Id: I32c9bed860ddf4fe1d7bba21dce9bd728168c398
2023-11-17 12:47:49 -05:00
taosang2 a115fcc189 SWDEV-431104 - Add pcie atomic in hipinfo
Add hostNativeAtomicSupported property into
hipinfo.

Change-Id: I606226705cd440c1742e0eac4840f7b189d69148
2023-11-17 12:31:37 -05:00
Rahul Manocha c5fa5e683f SWDEV-431064 catch test perf_test target compilation fix
Change-Id: I7de355c0d8ffd60ae05851e94c6e1a08ad655fd8
2023-11-17 06:34:32 -05:00
Jaydeep Patel be88e1dffc 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
2023-11-17 06:30:38 -05:00
Rahul Manocha 0f3750cf2c SWDEV-428567 Perf Catch Test for new hipMemcpyKind
Change-Id: I215d5465c6e538deecf99e735f6bcf67e159841b
2023-11-17 06:28:17 -05:00
SrinivasaRao c866e654da SWDEV-416449 - [catch2][dtest] Functional test cases for the memory type attribute of hipPointerGetAttributes() API
Change-Id: I7d0dc9f9a646ee3ea5aaa0d7f416817594ad7409
2023-11-17 06:27:40 -05:00
SrinivasaRao be7fdcb72c SWDEV-416343 - [catch2][dtest] Functional test cases for the hipDeviceGetUuid() API
Change-Id: I6c75f8282d6d78cdee224e018f3e70bfd5512a03
2023-11-17 06:26:35 -05:00
mbhiutra b0c4a4f70f SWDEV-403471 - [catch2][dtest] Conversion of preftests to catch2
Change-Id: I68cb780a71a6094dca86718e7d427806d3a0e67d
2023-11-17 06:24:57 -05:00
Jatin Chaudhary 96cf008176 SWDEV-431399 - fix first set of memory leaks in tests
Change-Id: I73254b2f17df69726110070ebb457df14d647f27
2023-11-17 06:23:49 -05:00
Tao Sang d26d5cf992 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
2023-11-17 06:19:20 -05:00
Jaydeep Patel 5d4c30ff25 SWDEV-425213 - On windows, Max memory that can be allocated using hipHostMalloc = 90% of (availgpumem - 256mb).
Change-Id: I20b2619d582c162ec446f3cf98bcd3a9e5d57243
2023-11-17 06:14:13 -05:00
Jaydeep Patel e5d82f128d 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
2023-11-17 06:01:10 -05:00
Rahul Manocha 12c49096d6 SWDEV-428567 - Catch Test for hipMemcpyDeviceToDeviceNoCU
Change-Id: I8769053eec2b8345023f78f730a1c28df3a1bda6
2023-11-17 05:59:00 -05:00
Sourabh Betigeri 559b335208 SWDEV-427356 - Workaround to fix a bug that causes soft hang of cooperative group tests
Change-Id: I57e2b51acc9443c1bd036f3d0d5c047989ceef82
2023-11-17 05:52:00 -05:00
Rakesh Roy 6196d105b3 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
2023-11-17 01:39:08 +05:30
Pravin Jagtap 8ba1245414 SWDEV-420786 [catch2] Added tests for global atomics.
Change-Id: Ic708e056e3a8ba8c440479539b73c5ce5fe8fe1b
2023-11-08 23:07:41 -04:00
SrinivasaRao 0f73dd37e6 SWDEV-403479 - [catch2][dtest] Functional test cases for the buffered printf feature
Change-Id: I66cf154ded8297f8f70147a4d051223a8ec008d1
2023-11-08 01:44:59 -05:00
Ioannis Assiouras 5546c951b8 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
2023-11-07 15:46:04 +00:00
German Andryeyev 9971540ac8 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
2023-11-07 09:47:27 -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
Jatin Chaudhary e605151eb1 SWDEV-411064 - check if image is supported before running image specific tests
Also fix CU Mask test.

Change-Id: I0fbb93a1bcce131e0f98dee7cd5da9704d2ca8ac
2023-11-07 01:05:01 -05:00
Rakesh Roy 8773e3a90a 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
2023-11-06 13:22:42 -05:00
Todd tiantuo Li 96b85efe72 SWDEV-425217 - disable StreamCreate Performance tests since they may fail on all configs
Change-Id: I69f6dfdd3814089480525dce296be93dcef20cb9
2023-11-06 11:49:53 -05:00
mbhiutra 6927bd31ec SWDEV-367611 - [catch2][dtest] Added function and complex scenarios with hipGraphExecUpdate API
Change-Id: I6f6b542783104895f85ab0a1fe6808556435aa2c
2023-11-06 09:23:44 -05:00
mbhiutra f729e892a2 SWDEV-422641 - [catch2][dtest] Added test for Annoying truncation of 'size_t' to 'unsigned int' inside hipMemcpy3D
Change-Id: I0faef0278acbb82186839fcd556af508b6fc84ec
2023-11-06 09:22:04 -05:00
Rupam Chetia 4d36246849 SWDEV-423176 - [catch2][dtest] Adding a test case for kernOrg Optimization feature
Change-Id: Iaa3215c96967c924c3da319cdb47a8e85d21e112
2023-11-06 09:17:46 -05:00
Rupam Chetia ae8090bde8 SWDEV-421132 - [catch2][dtest] Adding basic tests for Cooperative Groups methods meta_group_size() and meta_group_rank()
Change-Id: I7b9df6a3d656e0303e357e2610da9303e93f5600
2023-11-06 09:17:03 -05:00
taosang2 bc47bc35df SWDEV-419288 - Improve TstCoherency()
Fix originally wrong logic.

Change-Id: Ia4d3d9ee3d5712ce2e8914afcc2846b88306c483
2023-11-06 09:15:40 -05:00
Satyanvesh Dittakavi a3509a54cf SWDEV-419480 - Add hipRTC test which includes standard headers
Change-Id: Ieea60a16eaea2446a1a8e0f890ad7ecba39a8d10
2023-11-06 09:06:34 -05:00
Satyanvesh Dittakavi 2d17c32468 SWDEV-427345 - Address catch test failures
Change-Id: Ie3abbb50e1a2d0563c63c7fbb2bf7f341ac3aaa6
2023-11-06 09:05:08 -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
taosang2 8cc7ed5a03 SWDEV-408843 - Fix vulkan_interop failure
Fix vulkan_interop build issue on CMake so that
it can be integrated into catch2 batch build.
Fix some test failures.
Update some code format.

Change-Id: I32c9bed861ddf4fe0d7bba21dce9bd720168c397
2023-11-06 08:54:56 -05:00
Jaydeep Patel 0f99950ba7 SWDEV-424039 - Min CU mask on MI300 should be 10 as it has more max CUs.
Change-Id: Iecd9765a9aba969622f7e5581d952615850bd343
2023-11-06 08:29:51 -05:00
Todd tiantuo Li 050370661e SWDEV-333557 - add catch multiproc to Windows build
Change-Id: Ib1b976c9071527e508703496db234f2623a2cf84
2023-11-06 08:25:50 -05:00
Ioannis Assiouras 9290cc3c31 SWDEV-391998 - Fix and re-enable Unit_hipMallocManaged_OverSubscription
Change-Id: I896ad5a4894e7a63ad15308838e15601f2e3540c
2023-11-06 08:13:11 -05:00