Commit Graph

1065 Commits

Author SHA1 Message Date
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
mbhiutra e221e50e12 SWDEV-422641 - [catch2][dtest] Added test for Annoying truncation of 'size_t' to 'unsigned int' inside hipMemcpy3D
Change-Id: I0faef0278acbb82186839fcd556af508b6fc84ec


[ROCm/hip-tests commit: f729e892a2]
2023-11-06 09:22:04 -05:00
Rupam Chetia 8cf8ade8fd SWDEV-423176 - [catch2][dtest] Adding a test case for kernOrg Optimization feature
Change-Id: Iaa3215c96967c924c3da319cdb47a8e85d21e112


[ROCm/hip-tests commit: 4d36246849]
2023-11-06 09:17:46 -05:00
Rupam Chetia 90578d5e07 SWDEV-421132 - [catch2][dtest] Adding basic tests for Cooperative Groups methods meta_group_size() and meta_group_rank()
Change-Id: I7b9df6a3d656e0303e357e2610da9303e93f5600


[ROCm/hip-tests commit: ae8090bde8]
2023-11-06 09:17:03 -05:00
taosang2 c8c430709d SWDEV-419288 - Improve TstCoherency()
Fix originally wrong logic.

Change-Id: Ia4d3d9ee3d5712ce2e8914afcc2846b88306c483


[ROCm/hip-tests commit: bc47bc35df]
2023-11-06 09:15:40 -05:00
Satyanvesh Dittakavi faf506016b SWDEV-419480 - Add hipRTC test which includes standard headers
Change-Id: Ieea60a16eaea2446a1a8e0f890ad7ecba39a8d10


[ROCm/hip-tests commit: a3509a54cf]
2023-11-06 09:06:34 -05:00
Satyanvesh Dittakavi 66ddcaae50 SWDEV-427345 - Address catch test failures
Change-Id: Ie3abbb50e1a2d0563c63c7fbb2bf7f341ac3aaa6


[ROCm/hip-tests commit: 2d17c32468]
2023-11-06 09:05:08 -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
taosang2 b57dd4dd78 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


[ROCm/hip-tests commit: 8cc7ed5a03]
2023-11-06 08:54:56 -05:00
Jaydeep Patel 9d7a3e0e60 SWDEV-424039 - Min CU mask on MI300 should be 10 as it has more max CUs.
Change-Id: Iecd9765a9aba969622f7e5581d952615850bd343


[ROCm/hip-tests commit: 0f99950ba7]
2023-11-06 08:29:51 -05:00
Todd tiantuo Li aa470f00aa SWDEV-333557 - add catch multiproc to Windows build
Change-Id: Ib1b976c9071527e508703496db234f2623a2cf84


[ROCm/hip-tests commit: 050370661e]
2023-11-06 08:25:50 -05:00
Ioannis Assiouras 2df79888e1 SWDEV-391998 - Fix and re-enable Unit_hipMallocManaged_OverSubscription
Change-Id: I896ad5a4894e7a63ad15308838e15601f2e3540c


[ROCm/hip-tests commit: 9290cc3c31]
2023-11-06 08:13:11 -05:00
Rakesh Roy 1f343c299d SWDEV-426219 - Disable Unit_hipLaunchParm on MI100
- Unit_hipLaunchParm fails in integrity test & in PSDB on MI100.
- Disable it until the failure is fixed.

Change-Id: Id055860e067189c0ef85c77583c73269db9d2b51


[ROCm/hip-tests commit: 31dbd1970a]
2023-11-03 14:35:04 -04:00
Jatin Chaudhary 98381a5907 SWDEV-425943 - skip certain tests for gfx90a+
Change-Id: I055182144d5a5e470e5cca81306f7d7c838792d9


[ROCm/hip-tests commit: 905b943769]
2023-11-02 05:39:45 -04:00
kjayapra-amd 60e4e28d57 SWDEV-407994 - Adding stress test for hipModuleLoadData and hipModuleUnload code path.
Change-Id: I0b7e991ebb69699f6d285b0d3a08ea072fdfb5df


[ROCm/hip-tests commit: 895a844980]
2023-11-01 21:50:44 -04:00
Satyanvesh Dittakavi f891b700ab SWDEV-421415 - Add hipRTC test with device-side malloc
Change-Id: Ia1c3f2ab703432915bda0c62cae584349e535463


[ROCm/hip-tests commit: 50e3514a82]
2023-11-01 21:50:00 -04:00
Todd tiantuo Li e474534ce7 SWDEV-422544 - remove the check for hipDeviceAttributeUnifiedAddressing as a fixed value
Change-Id: I682eeb194903e4b74cd41597164f3622975daea6


[ROCm/hip-tests commit: 79d1fd1170]
2023-11-01 21:49:15 -04:00
Jatin Chaudhary fac4985abc SWDEV-424156 - Add parsing of visible devices for hip-tests
Change-Id: I0b0a2b4c5aec43ad8ee346e6eaaac2b726107207


[ROCm/hip-tests commit: a4b31afab3]
2023-11-01 21:46:26 -04:00
Satyanvesh Dittakavi 6087fc0f6b SWDEV-419077 - Link the hiprtc tests explicitly with hiprtc library
Change-Id: I055b7c7dae41cc5d6230897e31caa5e836c589a2


[ROCm/hip-tests commit: 94c082d518]
2023-11-01 21:40:24 -04:00
Rupam Chetia 86677752e9 SWDEV-416603 - [catch2][dtest] Adding test for linking unused libraries
Change-Id: Ib3109c404ad7d04a8416eb785b5d1b0885da8ce3


[ROCm/hip-tests commit: efc7afbf22]
2023-11-01 21:38:38 -04:00
mbhiutra bc93528aa2 SWDEV-415965 - [catch2][dtest] Added test for newly added member hipDeviceAttributeHostRegisterSupported
Change-Id: I89f716f1be9c5a36d5ffdb24e056a13cc4a493ca


[ROCm/hip-tests commit: 6bc9d607ac]
2023-11-01 21:37:07 -04:00
Jatin Chaudhary bf319a8e48 SWDEV-425943 - Fix failures seen when compiling with a new compiler
Change-Id: I0dc0ceaaf852d96231f08d47ec4ca61d95cc5fec


[ROCm/hip-tests commit: 493e5d2cd7]
2023-11-01 04:53:43 -04:00
Jaydeep Patel c28e388ab2 SWDEV-418116 - FindHIP.cmake is moved to /opt/rocm/lib/cmake/hip/ from /opt/rocm/hip/cmake/
Refer hipify-perl from /opt/rocm/bin/.

Change-Id: I95af838136b124d776323442253e8c74278d69e5


[ROCm/hip-tests commit: 560ef9b945]
2023-10-27 03:08:45 -04: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
Rakesh Roy edbcc42f3b SWDEV-425248, SWDEV-425251, SWDEV-426375 - Disable failing tests found in PSDB stress testing
- Disable tests that are failing on Linux & Windows during PSDB stress testing

Change-Id: I606226705cd440c1742e0eac4840f7b189d69047


[ROCm/hip-tests commit: ef1b576a8f]
2023-10-16 11:21:33 -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 4b171d9fe7 SWDEV-371332 - [ABI Break]remove if def for cu/cuda memtype
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I0754ef8bc7c9384bab65599a41719de0fd71b415


[ROCm/hip-tests commit: bfa6d77ce5]
2023-10-13 13:44:48 -04:00
kjayapra-amd 652964079c SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab


[ROCm/hip-tests commit: baaaff9d7f]
2023-10-13 16:25:01 +05:30
Satyanvesh Dittakavi b284d005b9 SWDEV-395996 - Enable the disabled hiprtc tests
Change-Id: Id0b12f11c298f7488cd95e92916574388e9b1356


[ROCm/hip-tests commit: 949cb688dd]
2023-10-12 12:11:35 -04:00
Ioannis Assiouras e816903523 SWDEV-422665,SWDEV-420913 - Fixed Unit_hipMemPrefetchAsync_NonPageSz
Change-Id: Ie453ced8eb246c54df754ca2d34ee2696d392c58


[ROCm/hip-tests commit: c1815ffd1a]
2023-10-12 12:11:19 -04:00