Grafik Komit

623 Melakukan

Penulis SHA1 Pesan Tanggal
Rakesh Roy f85b731a5c SWDEV-388493 - Use HSA APIs instead of rocminfo
- Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/217
- For Unit_hipGetDeviceAttribute_CheckFineGrainSupport test, get segment information using HSA APIs instead of rocminfo

Change-Id: I20f4c8a6669684a2326a3ce61735c4fa10433f9d
2024-01-18 01:03:12 -05:00
Ajay 1d9aadbf92 SWDEV-441112 - fix hip-tests catch build on nvidia platform
hip/hip_runtime.h path was not used correctly in some tests

Change-Id: I1a3f5fba352273ce366404f398bb5c2f7d6f283f
2024-01-17 11:34:53 -05:00
Jatin Chaudhary 252fca5aa8 SWDEV-412457 - add algorithm header in file
Change-Id: I18549f612be9e0b51d4ef92c600f1ce72ab58759
2024-01-17 09:20:34 +00:00
Jatin Chaudhary a87786f060 SWDEV-431399 - fix issues highlighted by address sanitizer
Change-Id: I927009a8d408bdf13677ce5cc926908fb4552441
2024-01-15 04:01:36 -05:00
Ioannis Assiouras 4274ec139d SWDEV-422655 - Fixed Unit_hipTextureMipmapRef2D
-Fixed and re-anabled test Unit_hipTextureMipmapRef2D_Positive_Check on windows.
-Check cuda version to prevent build issues on nvidia.

Change-Id: I7f9481f7bd9a7622197a626519c8f6a80c72768d
2024-01-11 06:45:07 -05:00
Jatin Chaudhary 9704c269d0 SWDEV-398975 - re-enable Unit_hipMemcpyWithStream_MultiThread test
use correct macro inside the test

Change-Id: I7034a97efe91d6c9e2d9b4e6026ec770714a01ac
2024-01-08 06:07:14 -05:00
Jatin Chaudhary af3ac29c40 SWDEV-430619 - fix Unit_hipDeviceGetUuid_From_RocmInfo test
Ignore the iGPU when iterating rocminfo and correct the bounds check
when matching results with HIP API. Also do not compare bytes directly,
use string to do a string compare as it can go out of bounds.
Disabling this test on windows till I get hold of a working windows
machine.

Change-Id: Icf811e0310776567afecea92e1d54e8438b39235
2024-01-08 04:21:52 -05:00
Jatin Chaudhary c364656420 SWDEV-431399 - fix randomly failing timing based tests
use blocking context instead of time based kernel launch

Change-Id: Ib4cdf913f18c80ce8173317811c0e6e3eb5acb76
2024-01-08 01:13:00 -05:00
SrinivasaRao 22fe5b7803 SWDEV-396087 - [catch2][dtest] Functional test cases for the API hipArrayGetDescriptor
Change-Id: Ia400b7ce9a6eeb6f008cab13100fd10a86c5127f
2024-01-04 09:44:00 -05:00
SrinivasaRao 28eda094cc SWDEV-403479 - [catch2][dtest] Enable buffered Printf test Scenarios for Windows platform.
Change-Id: I9c1428da5a262b81425a095dc15436621ee75ed6
2024-01-04 09:43:12 -05:00
Ioannis Assiouras 9131d555f9 SWDEV-439209 - Fixed Unit_hipMemVmm_Basic
Change-Id: I658d30e9ab7814517383d02550c338e5aeae554e
2023-12-29 11:22:14 +00:00
Maneesh Gupta 6429ef1b60 SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/194
- https://github.com/ROCm/hip-tests/pull/36
- https://github.com/ROCm/hip-tests/pull/44
- https://github.com/ROCm/hip-tests/pull/47
- https://github.com/ROCm/hip-tests/pull/62
- https://github.com/ROCm/hip-tests/pull/63
- https://github.com/ROCm/hip-tests/pull/64
- https://github.com/ROCm/hip-tests/pull/65
- https://github.com/ROCm/hip-tests/pull/66
- https://github.com/ROCm/hip-tests/pull/67
- https://github.com/ROCm/hip-tests/pull/68
- https://github.com/ROCm/hip-tests/pull/69
- https://github.com/ROCm/hip-tests/pull/142
- https://github.com/ROCm/hip-tests/pull/196
- https://github.com/ROCm/hip-tests/pull/238

Change-Id: I74f7fef76d7d536b1cf89dad3e527c92d1cd21b5
2023-12-20 10:39:37 +00:00
Nives Vukovic e0612f9346 EXSWHTEC-308 - Migrate and refactor cooperative groups tests from HIP repository (#238)
Change-Id: Ib46b7c038a5bda9d05f5d55a7269a7c645b0d049
2023-12-20 10:22:01 +00:00
Mirza Halilcevic f24d2dd934 EXSWHTEC-265 - Implement Tests for Atomic Exchange (#196)
Change-Id: I4d332dcaad2d0a788b6711f5be05ca6d61a9e34b
2023-12-20 10:22:01 +00:00
Mirza Halilcevic 615ac6b9ad EXSWHTEC-141 - Implement tests for hipGraphicsUnregisterResource (#69)
Change-Id: Ied2c5e8f399a8949544e9b4aeac127e38f81845f
2023-12-20 10:22:01 +00:00
Mirza Halilcevic 96223a468d EXSWHTEC-140 - Implement tests for hipGraphicsUnmapResources (#68)
Change-Id: Ib10185833caa2de58e11b42a1748aee19a27e391
2023-12-20 10:22:01 +00:00
Mirza Halilcevic c8eae3a168 EXSWHTEC-139 - Implement tests for hipGraphicsResourceGetMappedPointer (#67)
Change-Id: Iea299ac18ebdebd4f554497e51e64c161217e68e
2023-12-20 10:22:01 +00:00
Mirza Halilcevic e3a3ea56a3 EXSWHTEC-138 - Implement tests for hipGraphicsSubResourceGetMappedArray (#66)
Change-Id: Ic5e4c90d2e60c5d09556be8d797aaa811f950ecc
2023-12-20 10:22:01 +00:00
Mirza Halilcevic 51fc7b5011 EXSWHTEC-137 - Implement tests for hipGraphicsMapResources (#65)
Change-Id: I81f90002dba7f7be5ec2ed5fb2f07c5d98d815c0
2023-12-20 10:22:01 +00:00
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
Rupam Chetia de348d8b35 SWDEV-322620 - [catch2][dtest] Adding test for VMM APIs
Change-Id: Ia4dea28601b3c2f0163012a7a2ceb14d3a0c369b
2023-12-16 07:28:16 -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
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
Maneesh Gupta da89b3e76e SWDEV-388833 - Fix potential build issues with gcc tests
Change-Id: I53c109ebaed60b085069d862d87ac8a3597331c5
2023-11-30 01:19:22 -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
mbhiutra 51b354a25f SWDEV-415965 - [catch2][dtest] Added test for hip Math Constants
Change-Id: I6fbfc88d9e8d7708d7323a7708b03a7f5998db41
2023-11-24 06:00: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
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
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
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