Gráfico de commits

1101 Commits

Autor SHA1 Mensaje Fecha
GunaShekar, Ajay 25a7cf681e SWDEV-527806 - hip-tests . Add P2P checks for mGPU atomics tests (#258) 2025-07-22 19:47:03 +05:30
Jiang, Julia a7344b87c2 SWDEV-523483 - Updated hip-tests for atomics add-operation (#448) 2025-07-19 06:49:03 +05:30
Hernandez, Gerardo 4b2ed7653f SWDEV-534207 - solve phoenix mem test failures (#218)
* make sure symbolStatus after hipGetProcAddress() is the expected in the tests that are failing on Phoenix
* fix that calls to hipMemset2DAsync() and hipMemset2DAsync_spt() to set values on submatrices where not taking into account the pitch, causing test failures on Phoenix
* before testing whether hipMemset2DAsync() works, initialize the whole matrix to a known value. This makes sure the test fails even if the uninitialized memory returned after hipMallocPitch() happens to have the expected value
* Sbefore testing whether hipMemset2DAsync_spt() works, initialize the whole matrix to a known value. This makes sure the test fails even if the uninitialized memory returned after hipMallocPitch() happens to have the expected value
* fix up compiler error: dyn_hipMemset2DAsync_ptr should have been dyn_hipMemset2DAsync_spt_ptr
* when Unit_hipMalloc3D_Basic fails due to a potential memory leak, print the values that hipMemGetInfo() returns before and after the allocation/deallocation pair.
* Also print intermediate free memory
* Make sure Unit_hipMalloc3D_Basic allocates at least PalSettings::subAllocationChunkSize_ on Windows. Otherwise hipMemGetInfo() will not report an increase on available memory after hipFree() is called, as the minimum amount of memory that cause a call to the CoarseMemorySubAllocator::Create() is that chunk size
* Fix up previous commit; allocated too much memory
* skip some extent sizes in Unit_hipFreeMipmappedArrayImplicitSyncArray if allocating them would be require more memory than the actual totalGlobalMem of the device
* Do not expect an exact match when comparing the memory available memory before and after hipMalloc3D() + hipFree()
* Do not allocate more memory than the total GPU memory in Unit_hipFreeMipmappedArrayImplicitSyncArray
* fix expected available memory amount comparison in hipMalloc3D - Basic
* use SUCCEED() macro in Unit_hipFreeMipmappedArrayImplicitSyncArray to log more information when there is not enough memory for the mipmapped array to be allocated
* fix formatting
2025-07-18 13:45:19 +05:30
Manocha, Rahul 0c318b4ca5 SWDEV-535070 - Fix compilation error due to unused variable (#418)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-07-16 16:37:23 -07:00
Manocha, Rahul 2a0bcca07b SWDEV-539145 - Fix compilation error in windows psdb (#376)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-07-15 08:38:24 -07:00
Patel, Jaydeepkumar f94fe3c26c SWDEV-535070 - In windows 2 separate commands may not go back to back and hence actual time taken should be always more than expected but not necessary to be close. (#219) 2025-07-08 15:55:49 +05:30
Swargam, Rambabu 9741b347e5 SWDEV-532647 - [catch2][dtest] Test cases for hipGetLastError on Kernel Failure (#247)
* SWDEV-532647 - [catch2][dtest] Test cases for hipGetLastError on Kernel Failure

* SWDEV-532647 - Restricted to Linux, removed comment for mismatch error code

* SWDEV-532647 - Disabled tests for AMD due to hang issue

* SWDEV-532647 - Fixed clang format issues
2025-07-07 17:49:00 +05:30
Swargam, Rambabu c217bb601c SWDEV-532114 - [catch2][dtest] Test cases for hipMemGetHandleForAddessRange (#221) 2025-07-07 17:43:22 +05:30
Swargam, Rambabu ea366c7aa5 SWDEV-491288 - [catch2][dtest] Stream Capture tests for Occupancy API's (#157)
* SWDEV-491288 - [catch2][dtest] Stream Capture tests for Occupancy API's

* Modified Cmake file
2025-07-07 17:42:45 +05:30
Manocha, Rahul 0bf7c809d6 SWDEV-536749 - Skip building hipSquareGenericTargetOnly for static libs (#291)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-07-04 15:08:05 +05:30
Sang, Tao 891524ca75 SWDEV-536652 - Fix Unit_hipBindTextureToArray_Negative_Parameters (#354)
Fix sporadic failure of Unit_hipBindTextureToArray_Negative_Parameters
2025-07-02 10:05:52 +05:30
Sang, Tao 863f8828c3 SWDEV-516488 - Sync all devices. (#349) 2025-07-02 10:05:40 +05:30
Sang, Tao 9499bf6d1e SWDEV-539145 - Add tests of hipHostMallocUncached, hipHostAllocUncached and hipHostRegisterUncached (#348) 2025-07-01 10:10:25 +05:30
Deshpande, Chinmay Diwakar 1c366ee950 SWDEV-532676 - Fix hipcc flags for catch tests (#191)
Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>
2025-06-24 21:42:11 -07:00
Chaudhary, Jatin Jaikishan 409b47fec6 SWDEV-470698 - remove duplicate tests (#316)
Change-Id: Icedf0bd442f9a983fc590b7fde1a0e888472b65a
2025-06-23 19:52:44 +05:30
Manocha, Rahul b215381bbe SWDEV-538600 - Fix error code checks in some tests (#305) 2025-06-19 21:11:54 +05:30
Sang, Tao 6c60fcafd8 SWDEW_516488 - Fix possible atomics tests' failures (#292) 2025-06-14 05:33:25 +05:30
Sang, Tao ec8ff45a1d SWDEV-514141 - Fix zero clock rate issues (#4)
1.Remove clock functions from some tests that don't need them.
2.In some memory pool tests and coherency tests, timer-based kernel
delay isn't reliable, use pinned host based notification instead.
3.Add CHECK_PCIE_ATOMICS_SUPPORT before some tests.
4.catch/unit/memory/hipMemoryAllocateCoherent.cc is removed
as it is useless and originally excluded in building.
5.Some tests can still pass even if clock rate =0, thus they
  will be kept as is.
6.Some logic and format improvement in some tests.

Change-Id: I6b3c6bf54c61cffd45cd6f17c75998f751b75725
2025-06-11 21:11:25 +05:30
Sang, Tao c4284d50c5 SWDEV-537473 - Fix missing KERNELS_PATH (#273) 2025-06-11 19:44:36 +05:30
Belton-Schure, Aidan 6fbcc0726f SWDEV-482125 - fix Unit_Rtc_MathFunctions_header (#270) 2025-06-10 22:52:50 +05:30
Venkatesh, Anavena 6e2c871652 Test cases for Fp4 and fp6 coversion apis (#169) 2025-06-10 21:29:06 +05:30
Swargam, Rambabu f7712bd5a8 SWDEV-493276 - [catch2][dtest] Additional tests for Scratch limit change (#46)
* SWDEV-493276 - [catch2][dtest] Additional tests for Scratch limit change

* Removed the Kernel wait related scenarios

* Modified kernel operation

* Fixed PSDB NVIDIA build issue

* Restricted for Windows

* Used isSetScratchLimitSupported for all tests and modified isSetScratchLimitSupported
2025-06-10 21:25:06 +05:30
Brzak, Branislav 90d7eea054 SWDEV-534689 - Remove Unit_hipLaunchCooperativeKernelMultiDevice_Streams (#209) 2025-06-04 19:52:16 +05:30
Gollamandala, Srinivasarao 60b3aae3c0 SWDEV-526022-[catch2][dtest]-Functional and Negative tests for hipLaunchKernelExC, hipLaunchKernelEx and hipDrvLaunchKernelEx APIs (#156)
* Fntl tests of hipLaunchKernelExC, hipLaunchKernelEx and hipDrvLaunchKernelEx APIs

* Fixed the test failures on windows
2025-06-03 14:37:25 +05:30
Belton-Schure, Aidan ef6c95f6ce SWDEV-527851 SWDEV-527890 SWDEV-529456 - Update vector types test (#172)
* Update vector types test

* update MakeVector to be host+device function

* Add regression testing

* Add tests for subscript operator

Change-Id: Ifac85aaa6cd6d6bd96c4239414e38f284e2a2d54

* Fix unused vars

Change-Id: I6bc2da76dbf962db5d75ea5a84bf16b66f8ba6ba

---------

Co-authored-by: Aidan Belton <abeltons@amd.com>
2025-05-29 21:38:20 +05:30
Manocha, Rahul ea8a7e1e54 SWDEV-460098 - Fix error codes for hipLaunchKernel APIs to match cuda (#206)
Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>
2025-05-29 13:20:49 +05:30
Dittakavi, Satyanvesh 1be3aa8283 SWDEV-508973 - Fix the catch tests failures due to change in kernel validation error codes to match CUDA (#198) 2025-05-26 18:41:58 +05:30
Arandjelovic, Marko 74e743dcb9 Remove ifdef guards in VMM tests (#196) 2025-05-22 20:49:57 +05:30
Assiouras, Ioannis d1e6f076e2 SWDEV-508965 - Remove references to HIP_MEMSET_NODE_PARAMS struct (#195) 2025-05-22 13:08:36 +05:30
Assiouras, Ioannis 99f0083a64 SWDEV-533235 - Fix reference counting in Unit_hipGraphUserObj_ClonedGraph (#189) 2025-05-21 09:31:39 -07:00
Assiouras, Ioannis 3b98cef62a Remove invalid section that passes a destroyed stream in Unit_hipMemcpyPeerAsync_Negative_Parameters 2025-05-20 20:32:35 +01:00
Godavarthy Surya, Anusha 161ecddafe SWDEV-519722 - Update test to work on MGpu machines without P2P access (#145) 2025-05-14 20:52:58 +05:30
Andryeyev, German 0b1eed5acd SWDEV-497841 - Add max alloc test for MemPool (#108)
Stress mempool with a lot of big memory allocations.
The test requires >30MB of free memory.
2025-05-14 20:52:41 +05:30
GunaShekar, Ajay 86eb49aa7f SWDEV-527806 - hip-tests . Add P2P checks for mGPU atomics tests (#168) 2025-05-14 20:49:01 +05:30
Arandjelovic, Marko 552ed6125e Remove SetGetCacheConfig tests as APIs are not implemented (#84) 2025-05-14 16:27:05 +02:00
Arandjelovic, Marko 974d47ad8d SWDEV-525066 - Enable hipDeviceGetGraphMemAttribute functional tests (#71) 2025-05-14 16:06:23 +02:00
Hernandez, Gerardo 001affc6ae SWDEV-420237 - Add tests for reduce sync operations (#102) 2025-05-14 11:57:05 +01:00
Gollamandala, Srinivasarao d9cb3c7fb1 SWDEV-514396-[catch2][dtest]-Delay the hipUserObjectRelease (#68) 2025-05-13 22:16:15 +05:30
Sang, Tao 5a33b33ec8 SWDEV-508863 - Add generic target in compressed fatbin test (#28)
Change-Id: Iae148c3c998b18247624938512918dbb31bc462d
2025-05-13 09:34:30 -04:00
Sang, Tao 63c545989b SWDEV-521083 - Fix __hip_atomic_fetch_max/min() issues (#81)
Fix __hip_atomic_fetch_max/min() issues in float types
2025-05-13 15:10:09 +02:00
Arandjelovic, Marko dec3869d6d SWDEV-499927 - Enable Virtual Memory tests on NV platform (#79) 2025-05-13 00:21:38 +02:00
GunaShekar, Ajay fd8833cc83 SWDEV-522333 - hipDeviceGetPCIBusId relax format sizes (#33) 2025-05-12 12:50:34 -07:00
Patel, Jaydeepkumar 8abcd95564 SWDEV-521135 - Remove Unit_UUID_setEnv_Thread_Lock and correct uuidList.cc (#31) 2025-05-12 17:00:46 +05:30
Xie, Pengda 0c1a7bf155 SWDEV-514841 - Remove invalid stream tests on AMD platform 2025-05-08 16:25:23 -07:00
Huang, AnZhong 2c800b120d SWDEV-527299 - Support HIP_POINTER_ATTRIBUTE_CONTEXT (#122)
Removed this verification, as HIP_POINTER_ATTRIBUTE_CONTEXT will be supported.
2025-05-08 11:35:48 +05:30
Brzak, Branislav 3f30d6d8ea SWDEV-515519 - Synchronize after mem pool trim (#89) 2025-04-30 16:09:15 +02:00
GunaShekar, Ajay 52e72e9e00 SWDEV-524925 - hip-tests build with custom hip (#65) 2025-04-29 08:51:04 -07:00
Sang, Tao 7bc6eda321 SWDEV-507388 - Check image support. (#6)
Change-Id: Ieda106374eb066cd22ddd1194a9f9b1352c26d16
2025-04-23 21:20:13 +05:30
Stojiljkovic, Vladana 0d72e7fc8f SWDEV-511290 - Remove invalid Unit_hipMemSetAccess_MapPhysChksFromMulDev test (#93)
Co-authored-by: agodavar_amdeng <Anusha.GodavarthySurya@amd.com>
2025-04-15 17:28:20 +02:00
Xie, Jiabao(Jimbo) e25680e4d1 SWDEV-501675 - disable Unit_hipMalloc_AllocateMoreThanTotalRAM (#63)
Unit_hipMalloc_AllocateMoreThanTotalRAM is an invalid test. hipMalloc is able to allocate more than RAM size if VRam is larger, unless the test is meant to only allocate on host device.
Previously this test may have passed because of an incorrect check on hipMalloc limit: we had incorrectly limited allocation to physical ram size. This is no longer correct. We could always allocate Vram limit or sometimes system ram limit if Vram is full, fixed in https://github.com/AMD-ROCm-Internal/clr/pull/122

Co-authored-by: Jimbo Xie <jiabaxie@amd.com>
2025-04-03 11:35:38 -04:00