提交線圖

1205 次程式碼提交

作者 SHA1 備註 日期
Mirza Halilcevic 00964ba66c EXSWHTEC-136 - Implement tests for hipGraphicsGLRegisterImage (#64)
Change-Id: Ida0cdfcf2b4fb7da397fdbc3881f3358935d9364
2023-12-20 10:22:01 +00:00
Mirza Halilcevic 0fbfa9cde1 EXSWHTEC-135 - Implement tests for hipGraphicsGLRegisterBuffer #63
Change-Id: Ibecd69c83b4aeebd7129aa009206893146e06cb4
2023-12-20 10:22:01 +00:00
Mirza Halilcevic 1386d9df25 EXSWHTEC-134 - Implement tests for hipGLGetDevices #62
Change-Id: I866a1f9af975691fb92586bd62c6cf88b0376f4f
2023-12-20 10:22:01 +00:00
Nives Vukovic bb791d8e86 EXSWHTEC-105 - Implement tests for hipModuleOccupancyMaxActiveBlocksPerMultiprocessor and hipModuleOccupancyMaxPotentialBlockSize APIs #47
Change-Id: I4e51bb999f43c4f304ed4712dadc3fc1aae3f7a4
2023-12-20 10:22:01 +00:00
Nives Vukovic 575e4cc93e EXSWHTEC-178 - Implement tests for Graph Event Node APIs #44
Change-Id: Id3f569d94d347af2f5e27513fa01c5a1e8e30fd9
2023-12-20 10:22:01 +00:00
Nives Vukovic 133521b22f EXSWHTEC-172 - Hip graph launching and execution tests #36
Change-Id: I2cfadf6335a582f593191860d5084cb79fa411b3
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
kjayapra-amd 6d8e62c0e3 SWDEV-322620 - Tests are disabled at .json level, no need to disabled with MACRO at compile time.
Change-Id: I1455b7fc9ac7011bd0430adf78864c7fb13a69dc
2023-12-19 08:21:13 -05:00
Rakesh Roy 24e2f429ca 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
2023-12-18 20:49:43 +05:30
Rupam Chetia de348d8b35 SWDEV-322620 - [catch2][dtest] Adding test for VMM APIs
Change-Id: Ia4dea28601b3c2f0163012a7a2ceb14d3a0c369b
2023-12-16 07:28:16 -05:00
Rahul Manocha f0b5b20466 SWDEV-431345 - CMake build flow for hip samples 16,17
Change-Id: I7bfc8600511c78d8c73aa526f9846cd268651279
2023-12-15 09:02:23 -05:00
Jatin Chaudhary 39aeb7b42e 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
2023-12-13 17:12:16 +00:00
Jatin Chaudhary da6e008456 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
2023-12-13 11:51:29 -05:00
Rahul Manocha 1a2f1eb11c SWDEV-437139 hip sample 22 fix
Change-Id: Icb7a9d759e62dab95399c81e2b68ff2cd8c24c0b
2023-12-12 17:34:07 +00:00
Nives Vukovic 91ee1399df 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
2023-12-08 10:28:47 -05:00
Jatin Chaudhary 7cfc4a3664 SWDEV-429802 - add address sanitizer build option to hip-tests
Change-Id: I5662e1d7a08c81239e043ddc7b48853a414a3556
2023-12-08 10:25:29 -05:00
Jaydeep Patel cd6796db58 SWDEV-411680 - Create stream after device is set.
Change-Id: I3eec0b6855ff9377fdd5bc34128cac9e4af9ec7f
2023-12-08 10:23:46 -05:00
Ioannis Assiouras 3ae4d80e86 SWDEV-433317 - Added compilation flag to report an error if vla is used
Change-Id: I8a03e1fece88ec52261c53684c9f66bbfc401a12
2023-12-05 17:53:18 -05:00
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