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

1163 Коммитов

Автор SHA1 Сообщение Дата
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
Rakesh Roy 31dbd1970a 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
2023-11-03 14:35:04 -04:00
Jatin Chaudhary 905b943769 SWDEV-425943 - skip certain tests for gfx90a+
Change-Id: I055182144d5a5e470e5cca81306f7d7c838792d9
2023-11-02 05:39:45 -04:00
kjayapra-amd 895a844980 SWDEV-407994 - Adding stress test for hipModuleLoadData and hipModuleUnload code path.
Change-Id: I0b7e991ebb69699f6d285b0d3a08ea072fdfb5df
2023-11-01 21:50:44 -04:00
Satyanvesh Dittakavi 50e3514a82 SWDEV-421415 - Add hipRTC test with device-side malloc
Change-Id: Ia1c3f2ab703432915bda0c62cae584349e535463
2023-11-01 21:50:00 -04:00
Todd tiantuo Li 79d1fd1170 SWDEV-422544 - remove the check for hipDeviceAttributeUnifiedAddressing as a fixed value
Change-Id: I682eeb194903e4b74cd41597164f3622975daea6
2023-11-01 21:49:15 -04:00
Jatin Chaudhary a4b31afab3 SWDEV-424156 - Add parsing of visible devices for hip-tests
Change-Id: I0b0a2b4c5aec43ad8ee346e6eaaac2b726107207
2023-11-01 21:46:26 -04:00
Satyanvesh Dittakavi 94c082d518 SWDEV-419077 - Link the hiprtc tests explicitly with hiprtc library
Change-Id: I055b7c7dae41cc5d6230897e31caa5e836c589a2
2023-11-01 21:40:24 -04:00
Rupam Chetia efc7afbf22 SWDEV-416603 - [catch2][dtest] Adding test for linking unused libraries
Change-Id: Ib3109c404ad7d04a8416eb785b5d1b0885da8ce3
2023-11-01 21:38:38 -04:00
mbhiutra 6bc9d607ac SWDEV-415965 - [catch2][dtest] Added test for newly added member hipDeviceAttributeHostRegisterSupported
Change-Id: I89f716f1be9c5a36d5ffdb24e056a13cc4a493ca
2023-11-01 21:37:07 -04:00
Jatin Chaudhary 493e5d2cd7 SWDEV-425943 - Fix failures seen when compiling with a new compiler
Change-Id: I0dc0ceaaf852d96231f08d47ec4ca61d95cc5fec
2023-11-01 04:53:43 -04:00
Jaydeep Patel 560ef9b945 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
2023-10-27 03:08:45 -04:00
Konstantin Zhuravlyov 03b6ca735f SWDEV-428634 - Fix vla array in hip-tests
Change-Id: I98891d79ac0b141fb0ffda28ffda3dcb3e65c326
2023-10-24 00:46:55 -04:00
Rakesh Roy ef1b576a8f 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
2023-10-16 11:21:33 -04:00
Rahul Garg cf3df12106 SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit fe5206e50a.

Reason for revert: Bring back original change.

Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27
2023-10-16 17:23:01 +05:30
sdashmiz bfa6d77ce5 SWDEV-371332 - [ABI Break]remove if def for cu/cuda memtype
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I0754ef8bc7c9384bab65599a41719de0fd71b415
2023-10-13 13:44:48 -04:00
kjayapra-amd baaaff9d7f SWDEV-415965 - Fixing uninitialized variable error for pitch_M and
update hipArray in hipGetLastError

Change-Id: I5656eaa666c0472fb852aa0f95ae1b75c98b60ab
2023-10-13 16:25:01 +05:30
Satyanvesh Dittakavi 949cb688dd SWDEV-395996 - Enable the disabled hiprtc tests
Change-Id: Id0b12f11c298f7488cd95e92916574388e9b1356
2023-10-12 12:11:35 -04:00
Ioannis Assiouras c1815ffd1a SWDEV-422665,SWDEV-420913 - Fixed Unit_hipMemPrefetchAsync_NonPageSz
Change-Id: Ie453ced8eb246c54df754ca2d34ee2696d392c58
2023-10-12 12:11:19 -04:00
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
mbhiutra cc35feba07 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
2023-10-12 12:07:49 -04:00
Jaydeep Patel f44b862cd9 SWDEV-413161/SWDEV-415848 - Prefetch is only for device memory.
Change-Id: Ie2d9cb907fbf7958dfd1b90a5b01a2722cb4e2a5
2023-10-12 11:53:09 -04:00
Sourabh Betigeri 9cef1f0ac5 SWDEV-417765 - Modifies test to verify dimensions returned by group_dim()
Change-Id: Ie92b9f74f4cc37b55f175cb828a88266c5167e0c
2023-10-12 11:51:50 -04:00
Satyanvesh Dittakavi d517f0175c SWDEV-420738 - Fix Unit_hipTextureObj3DCheckModes issue due to hipGetLastError change
Change-Id: I3f6efe6f995a2cf041a6f74000fec236298c34a7
2023-10-12 10:21:10 -04:00
mbhiutra 1ef4b7f4ea SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemAllocNodeGetParams, hipGraphMemFreeNodeGetParams APIs
Change-Id: I0b68b6d26e91911acb8c14bd95bb62d6d9688ef4
2023-10-12 10:16:52 -04:00