Commit Graph

1148 Commits

Author SHA1 Message Date
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
taosang2 a2f37dfa3a SWDEV-475568 - Fix compiling issues
Fix compiling issues of "make perf_test" under
hip-tests.

Change-Id: Ib03328a2fb13375fa44626a42202b1eeb177b8b2
2024-10-23 11:03:45 -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
Satyanvesh Dittakavi 057328bc7f SWDEV-465073 - Enable hipClassKernel_Virtual test on Windows
The test is already updated earlier and now it can be
enabled as the compiler change is in mainline

Change-Id: I9bbf33adf766a0d6b11bfa18350e79cfe35dd324
2024-10-23 07:58:32 +00: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
taosang2 0a22d14775 SWDEV-451393 - Add kernel execution perf test
Add kernel excution perf test per blockSize and block number.
Implement a solution to roughly evaluate gpu variable
frequency based on clock64() and wall_clock64().

Change-Id: Ic87761a862d4a894fdcaab3431d63fe2592bb682
2024-10-23 02:25:07 -04:00
Marko Arandjelovic bac782e398 SWDEV-441278 - Add hipHostFree test
Change-Id: Ibb78f3d36aa35bf75329adf65f19da5977a965f3
2024-10-23 01:04:44 -04:00
David Salinas 4407cf6059 HIPCC Perl Clean up:
SWDEV-467478 - HIPCC Clean up perl

Change-Id: Iaea54b8b49ab51108163d363bbe68823571409d7
2024-10-22 04:46:40 -04:00
Marko Arandjelovic aac7b29d78 SWDEV-487395 - Add macros for capturing async APIs
Change-Id: Id8647a05f3f483792d9224aaf8a2488c2498c0ba
2024-10-21 09:09:20 -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
Aravindan Cheruvally c2671515df Revert "SWDEV-342167, SWDEV-461080 - Remove Hard Coded Install Permission"
This reverts commit 38eedf86cf.

Reason for revert: Observing issue SWDEV-488249 due to catch test permission settings. 

Change-Id: Ifdc55e4eb3938c9bc0b9af0a4e9dc9ba366614b3
2024-10-02 10:33:03 -04:00
Ioannis Assiouras cf29cda0bd SWDEV-478472 - Disabled Unit_hipMallocArray_Negative_8bitFloat
Change-Id: I2d7f8ae8b2cae655904522d3acc20aa939080d1b
2024-10-01 09:54:14 +01: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 1621b7ad85 SWDEV-486448 - Disable the coalesced group tests due to too long execution
Change-Id: I4e91034c812319cef15c540078064e70ab5b5da6
2024-09-24 05:13:00 -04:00
Ranjith Ramakrishnan 173abcfba0 SWDEV-437189 - Provide option to enable/disable CPACK_SET_DESTDIR
The variable is set as cache, so that user can override.
But the hard coded setting is preventing override. Removed the same

Change-Id: Ica5f9074a6532f465705a8dd1a8f21c6643ef49e
2024-09-23 15:46:24 -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 0112ed5137 SWDEV-465206 - Enable Unit_hipModuleLaunchCooperativeKernel_Negative_Parameters
Change-Id: I35037f1b6cae5416b724499ac916ba1a70f9556e
2024-09-19 04:00:50 -04:00
AravindanC 38eedf86cf SWDEV-342167, SWDEV-461080 - Remove Hard Coded Install Permission
Change-Id: Ie42cf83cc9a665715e76966378237d479202e0a7
2024-09-18 11:48:03 -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
kjayapra-amd 53c362295c SWDEV-470571 - Disabling fence tests wont work since fine grain mem is MTYPE_NC for gfx12.
Change-Id: I663d836d5ff17345ad0d4902f3d995dedb6070c4
2024-09-16 18:39:30 -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
Rahul Manocha 5dc048b559 SWDEV-475482 - Disable Texture Object Tests to merge clr change
Change-Id: I821120cd3c9eba8abd1beeeee5e61246272243e6
2024-09-12 11:05:12 -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 bee0ba867d SWDEV-478472 - Disable tests to merge SWDEV-475987 on hipother
Change-Id: I58715144518a35954e29d89878465cfd41ccfe86
2024-09-04 12:25:04 -04:00
Vladana Stojiljkovic 5b67a2a4a0 SWDEV-450735 - Add compiler option for using clock64
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02:00
Rahul Manocha dc656c5dda [SWDEV-451646] - Enable Warp Vote Tests
Change-Id: Icb25cd695bc6f3ad9dd53cca45b9c32bf984bee7
2024-08-27 11:41:22 -04: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