Commit Graph

582 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
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
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
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
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
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
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
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
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
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
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
sdashmiz 5760a5449a SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

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


[ROCm/hip-tests commit: e161374c31]
2023-10-12 12:09:20 -04:00
mbhiutra 1593c69807 SWDEV-415965 - [catch2][dtest] Added test for newly added member of hipDeviceProp_t
Move the test of AMD specific attribute into proper section

Change-Id: Id35e604e68123eee623a616ba6cd680097f6556d


[ROCm/hip-tests commit: cc35feba07]
2023-10-12 12:07:49 -04:00
Jaydeep Patel ae4c7bb1a2 SWDEV-413161/SWDEV-415848 - Prefetch is only for device memory.
Change-Id: Ie2d9cb907fbf7958dfd1b90a5b01a2722cb4e2a5


[ROCm/hip-tests commit: f44b862cd9]
2023-10-12 11:53:09 -04:00
Sourabh Betigeri 6375193bb4 SWDEV-417765 - Modifies test to verify dimensions returned by group_dim()
Change-Id: Ie92b9f74f4cc37b55f175cb828a88266c5167e0c


[ROCm/hip-tests commit: 9cef1f0ac5]
2023-10-12 11:51:50 -04:00
Satyanvesh Dittakavi 64215d55e7 SWDEV-420738 - Fix Unit_hipTextureObj3DCheckModes issue due to hipGetLastError change
Change-Id: I3f6efe6f995a2cf041a6f74000fec236298c34a7


[ROCm/hip-tests commit: d517f0175c]
2023-10-12 10:21:10 -04:00
mbhiutra 350b05a9e3 SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemAllocNodeGetParams, hipGraphMemFreeNodeGetParams APIs
Change-Id: I0b68b6d26e91911acb8c14bd95bb62d6d9688ef4


[ROCm/hip-tests commit: 1ef4b7f4ea]
2023-10-12 10:16:52 -04:00
mbhiutra 3cbc2d6553 SWDEV-389401 - [catch2][dtest] hipGetLastError API test
Change-Id: I7c264307269593c2b6d2529a76c04b4b08f752f5


[ROCm/hip-tests commit: 896ffb454b]
2023-10-12 10:09:40 -04:00
mbhiutra d8a6f2e16e SWDEV-415965 - [catch2][dtest] Added test for Optimize HIPGraph Performance
Change-Id: I46b1f1d5bea884d6cf335f7e4e09cb453f20a3fe


[ROCm/hip-tests commit: 9a802f36ed]
2023-10-10 00:11:46 -04:00
Rakesh Roy 81a120a5c5 SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit de3d24df97.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc


[ROCm/hip-tests commit: fe5206e50a]
2023-10-09 06:31:52 -04:00
jiabaxie bcd3cfeafe SWDEV-400002 - [ABI Break] remove unsupported hip enums
Change-Id: Ic8bd02a7a2385c06d55a8ee01b950cd6d372f5ce


[ROCm/hip-tests commit: 6dc7b081cc]
2023-10-05 02:18:24 -04:00
taosang2 de3d24df97 SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf


[ROCm/hip-tests commit: 403afae98f]
2023-09-28 12:36:05 -04:00
kjayapra-amd feaa0bbe43 SWDEV-420149 - Fixing unsafe atomics change for targets other than gfx90a.
Change-Id: Ifa26fd1c51505c5e86e121233c8352e3bde846ea


[ROCm/hip-tests commit: a363fa2833]
2023-09-27 12:20:05 -04:00
AravindanC c274b20863 SWDEV-421448 - add library link directory for dynamicLoading test
Change-Id: I64c90b7dd84990bec31e8aa26b1fffb6482c49ab


[ROCm/hip-tests commit: cdd59ef727]
2023-09-26 12:29:30 -04:00
Jatin Chaudhary acf40cd6df SWDEV-306642 - remove gcnArch from tests
Change-Id: Ibc16aa1bc3507fb583ac9c68394b1ab9b2ba7af4


[ROCm/hip-tests commit: 2c17edbced]
2023-09-26 05:34:34 -04:00