Commit Graph

927 Commits

Author SHA1 Message Date
Jaydeep Patel 23eead4e7b SWDEV-482400 - Use correct way to add delay/wait on GPU.
Change-Id: Id1610227c97cc43d289f8c3a04c0c53707ccef48
2024-11-04 12:07:52 -05:00
Vladana Stojiljkovic 5fa9900949 SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown
Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8
2024-11-04 11:25:54 -05:00
Jaydeep Patel 7aff6567b7 SWDEV-483355 - hipDrvMemcpy2DUnaligned is not supported for inter GPU copy without p2p access.
Change-Id: Ie484efc5779b139e5ca2d504342fb49edfb6b30c
2024-11-04 11:23:39 -05:00
Jaydeep Patel 067e3836ee SWDEV-479616 - hipMemcpyParam2D and hipMemcpy2D does not support inter gpu copy without p2p access.
Skip Unit_hipGetProcAddress_MemoryApisPeerToPeer if p2p access is not supported.

Change-Id: I9f8598b9d1edf1d189583c5600b2e4d937564ea4
2024-11-04 11:18:58 -05:00
Li, Todd tiantuo 9e30678987 SWDEV-472357 - fix 1D, 2D and 3D memCpy tests
on sync, stream and setDevice

Change-Id: I19bdb907977338cac67c1e3f6f01cda6f2b97ec6
2024-11-04 11:12:52 -05:00
Marko Arandjelovic a13da7ba02 SWDEV-476486 - Add unit test for hipMemAllocHost
Change-Id: Ie77686b4e2a269b845b3187f27281a5a855bd731
2024-11-04 05:12:05 -05:00
Ajay 61f3be259a SWDEV-1 - exclude hipExtHostAlloc.cc from nvidia test list
Change-Id: I31644cbf446f057af82235dccc54202ad3e81428
2024-10-29 11:23:04 -04:00
Rahul Manocha ba23adcded [SWDEV-454178] - Fix for Atomic Arithmetic testcases
Change-Id: I8c8a7026bfe4906108c7c90907ffe130cd993ab4
2024-10-25 14:51:55 -04:00
Jaydeep Patel 38be7ae377 SWDEV-470886 - Add __shfl test for undef args.
Change-Id: I86c5c371fffbf7320a087166c65ac0e5a4dff13c
2024-10-25 14:46:50 -04:00
Vladana Stojiljkovic b24e61671a SWDEV-478767 - Implement tests for hipTexRefSetAddress2D
Change-Id: Id5b946c216097c606a1e4b839514f68d351adc19
2024-10-25 14:43:45 -04:00
Ajay c025def8ac SWDEV-1 - complex hiprtc negative tests
Change-Id: I22a200b1e762651689659a7a404b5f27f1ab01a7
2024-10-25 12:34:04 -04:00
Ioannis Assiouras 359aed1348 SWDEV-480400 - Add unit test for hipExtHostAlloc
Change-Id: Ica92d1ae91bdc4feef52b7b07d55da4dff8d7542
2024-10-25 11:51:42 -04:00
Branislav Brzak 570c690f42 SWDEV-465209 - Enable Not_Supported tests
This addresses
SWDEV-465209
SWDEV-465211
SWDEV-465216
SWDEV-465218
SWDEV-465210

Change-Id: I3596f058050d056608dbbe5353306ee88d277b44
2024-10-24 05:52:25 -04:00
Jaydeep Patel 87c8a0417c SWDEV-481514, SWDEV-482400 - Use correct way to add delay/wait on GPU.
Change-Id: I163896333bf741053173d636a499ed6406e77a09
2024-10-23 14:39:35 -04:00
Vladana Stojiljkovic db697c1873 SWDEV-457747 Fix disabled Unit_hipMemSetAccess_Vmm2PeerPeerMemCpy test
Change-Id: If83dce52a60dcad94397afe758dc8ebf03d6c69a
2024-10-23 14:32:20 -04:00
Rahul Manocha 8b15996041 SWDEV-474617 - Add Peer Device access check for memcpy2D tests and fix for SVM Memory test.
Change-Id: Idff7c02087f99c59f456e0027bbe0bc19cf67059
2024-10-23 14:26:02 -04:00
Marko Arandjelovic 56ef43810b SWDEV-475749 - Add unit test for hipMallocHost
Change-Id: I0e94342ba68c12f64ac94a04a46f1c478e6f01be
2024-10-23 14:05:33 -04:00
Jaydeep Patel 2f067487d2 SWDEV-479807 - Skip if peer access is not supported.
Change-Id: I2a40976e7e1a4c86c41ea86e87359c7d4b85c6d8
2024-10-23 10:57:23 -04:00
Todd tiantuo Li d1d8b1e08e SWDEV-448894 - Fix hipMemcpyDtoD and hipMemcpyDtoDAsync tests
1.Test staging buffer copy when there is no P2P capabilities
2.Enable PeerAccess correctly for P2P copy

Change-Id: Ic0b75a60c8a763f3cfe68fbd92656fbfb4c207bc
2024-10-23 10:54:34 -04:00
Rupam Chetia 9fd38dd3e1 SWDEV-471105 - [catch2][dtest] Adding functional tests for hipMemPoolExportToShareableHandle, hipMemPoolExportPointer, hipMemPoolImportFromShareableHandle and hipMemPoolImportPointer
Change-Id: Ief0f0d7f4c05d741e49eaffa54f11338c4bdc30f
2024-10-23 02:45:00 -04:00
Rupam Chetia 2eb6754de5 SWDEV-468182 - [catch2][dtest] Adding scenarios for hipMemImportFromShareableHandle and hipMemExportToShareableHandle
Change-Id: I46e2bb60acc354c2db02a150848d9be4386bff30
2024-10-23 02:35:31 -04:00
Marko Arandjelovic bac782e398 SWDEV-441278 - Add hipHostFree test
Change-Id: Ibb78f3d36aa35bf75329adf65f19da5977a965f3
2024-10-23 01:04:44 -04:00
Sebastian Luzynski eec4fec7d4 SWDEV-441598 - Add tests for hiprtcLinkDestroy
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Icb73543a72eaf1a0ee59b702c6f4bf5be7cbeb36
2024-10-18 04:06:31 -04:00
Marko Arandjelovic b0943c82ca SWDEV-475688 - Add unit test for hipHostAlloc
Change-Id: Id414d16651529983674b4f90391e0913feab0440
2024-10-17 17:59:53 -04:00
sdashmiz 4e4cde6d70 SWDEV-462585 - Add initial test for hipStreamLegacy
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Idf38f2e8c49e9011ede73e6222db68ccdc74ed80
2024-10-15 11:11:12 -04:00
taosang2 b4694a6bab SWDEV-482059 SWDEV-476745 - Add image support check
Add image support check before hipMallocArray().

Change-Id: I9efed88d791ee1b2b4465286b3341b821f7bf628
2024-10-09 11:29:28 -04:00
Rahul Manocha e3e662b52b SWDEV-468039 - Add Catch Test for fp8 OCP type conversions
Change-Id: I2648909483b8dc32fcd720c18608c5ca32399045
2024-09-25 12:00:52 -04:00
Jatin Chaudhary f62e3df454 SWDEV-411880 - Fix test device malloc
Unit_deviceAllocation_Malloc_ComplexDataType

Change-Id: I8d5c3a9c63e74ffc90ddf6b89729603236a88fcf
2024-09-24 14:45:40 -04:00
taosang2 352932738a SWDEV-476125 - Fix synchronization tests
Fix issues of
    Unit_cache_coherency_cpu_gpu
    Unit_cache_coherency_gpu_gpu
Enable them for all devices.

Change-Id: I19ba2084fdddd7b173edddb4e9c1b16cf7a97314
2024-09-24 14:39:57 -04:00
Rahul Manocha 4e99f68b03 [SWDEV-467733] - Set Cache Config Negative Param test fix
Change-Id: I058ca23a05e63aaaa54ea22e2b509593764cd7bc
2024-09-24 12:26:35 -04:00
Marko Arandjelovic e35cc19aaf SWDEV-465148 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
- For transfers from any host memory to any host memory,
   the function is fully synchronous with respect to the host.

Change-Id: Ie1cb3e136334af320d2596460faed58fcb714b83
2024-09-23 14:55:23 -04:00
Marko Arandjelovic 6867852a89 SWDEV-454656 Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Positive_Basic
Pitch cannot be lower then width

Change-Id: I929672fad4ca62d21ffd7bfec8bbc837e7bbcee2
2024-09-17 11:57:29 -04:00
Marko Arandjelovic a34ae6c8fc SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops
Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3
2024-09-13 14:49:36 -04:00
Branislav Brzak 3e945b10f1 SWDEV-441279 - Add hipMemsetD8Async test
Change-Id: Ibcdb2098c45db440c79151b4d7dad6734b16222a
2024-09-13 17:30:26 +02:00
Marko Arandjelovic ad5b55a2c4 SWDEV-465204 - Fix Unit_hipModuleLaunchKernel_Negative_Parameters
Change-Id: I754d1835366f131f44d56da05ac24bc152cbfa47
2024-09-13 10:56:33 -04:00
Marko Arandjelovic 27be56f329 SWDEV-454659 - Correct test setup, Unit_hipGraphExecMemcpyNodeSetParams_Negative_Parameters
Pitch cannot be lower then width

Change-Id: Ib42f036f1158b500ce8892643178469a2ec7dc88
2024-09-13 10:48:14 -04:00
Marko Arandjelovic 850511cc28 SWDEV-465196 - Fix coalesced_group tests
Change-Id: I4537e2351273d0c71ff62d34b5002fcb2ecd15e6
2024-09-13 04:29:02 -04:00
Sourabh Betigeri aaec37314f SWDEV-462007 - Fixes and strenghtens multi grid sync on mgpus
- Replaces logic relying on clock64() instead to
  use an atomic counter that the last wg in grid
  and multi-grid groups wait on while the the
  non-last work groups increment the counter
  to "done"
- Implements a new logic to verify the multi-grid
  sync()

Change-Id: I7780d8124e5f144b124e5d191d0f412483a3b565
2024-09-06 11:58:20 -07:00
Vladana Stojiljkovic 5b67a2a4a0 SWDEV-450735 - Add compiler option for using clock64
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02:00
Branislav Brzak 365dbf738b SWDEV-441294 - Add hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags test
Change-Id: Ia45dc367729677e159428960f3970da97047cf06
2024-08-27 05:29:56 -04:00
Marko Arandjelovic d3f42460e8 SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974
2024-08-26 13:41:57 -04:00
Jatin Chaudhary c96c60c49c SWDEV-466747 - add shfl tests and increase test coverage
Change-Id: Ifd3edb5620fcbd3c3bbd88a0a1280eaac98e0487
2024-08-26 13:27:57 -04:00
SrinivasaRao 304b0ac90b SWDEV-388834 - [catch2][dtest] Module tests migrated from direct to catch2
Change-Id: I9a3fbdd4e52bb69ab428b7cfcd478fa0382e7cc9
2024-08-22 23:39:12 -04:00
victzhan 9d669b3bea SWDEV-473011 - Rename hipMemcpy_old.cc to hipMemcpy_EdgeCases for readability.
Change-Id: I1634759aea340ecbb83fcc7c3328918147eeb0e9
2024-08-20 10:06:13 -04:00
Rahul Manocha 6cf941c830 SWDEV-454315 - Disable test section that segfaults on windows
Change-Id: Idaac99c433120d98646417318258bfb375d2f367
2024-08-14 07:53:29 -04:00
Rakesh Roy 9ec381b401 SWDEV-472723 - Correct file format
- Change line ending from CRLF to LF

Change-Id: Ie75e4bd3c7d58532bc986ec61476ee6f9c5f1f95
2024-08-13 13:39:48 +05:30
Satyanvesh Dittakavi 5f1dfc3851 SWDEV-465073 - Update hipClassKernel_Virtual test
Compiler has changed to match the device side struct layout with
the host side and hence the test is updated to verify if struct sizes
of both host and device are equal instead of checking for hardcoded
struct sizes

Change-Id: Idd9ea1f04b413b7aa30f03555fd8e0ee11cd0f75
2024-08-12 13:39:50 -04:00
Branislav Brzak 0c335250f9 SWDEV-441285 - Add hipMemsetD32Async test
Change-Id: Iad40a8d94a556b35dd409acf2b0d2d6130e38bc0
2024-08-12 06:43:50 -04:00
Rakesh Roy 101981b354 SWDEV-472723 - Correct file format
- Change line ending from CRLF to LF

Change-Id: I4c3cf072f143d6add7ddf66cb8d6d8a1e45f77ab
2024-08-12 14:33:17 +05:30
Marko Arandjelovic b0b04e81be SWDEW-441411 - Add hipConfigureCall test
Change-Id: I90d9b778d3f53bed20777251f839063431141440
2024-08-09 07:41:15 -04:00