Commit Graph

1099 Commitit

Tekijä SHA1 Viesti Päivämäärä
Hernandez, Gerardo b8ef4025e2 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

[ROCm/hip-tests commit: 4b2ed7653f]
2025-07-18 13:45:19 +05:30
Manocha, Rahul 8c88657993 SWDEV-535070 - Fix compilation error due to unused variable (#418)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hip-tests commit: 0c318b4ca5]
2025-07-16 16:37:23 -07:00
Manocha, Rahul 54bf215b7d SWDEV-539145 - Fix compilation error in windows psdb (#376)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hip-tests commit: 2a0bcca07b]
2025-07-15 08:38:24 -07:00
Patel, Jaydeepkumar 068f506131 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)
[ROCm/hip-tests commit: f94fe3c26c]
2025-07-08 15:55:49 +05:30
Swargam, Rambabu eb2710785e 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

[ROCm/hip-tests commit: 9741b347e5]
2025-07-07 17:49:00 +05:30
Swargam, Rambabu d9642dbbc2 SWDEV-532114 - [catch2][dtest] Test cases for hipMemGetHandleForAddessRange (#221)
[ROCm/hip-tests commit: c217bb601c]
2025-07-07 17:43:22 +05:30
Swargam, Rambabu b35d4e70ad 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

[ROCm/hip-tests commit: ea366c7aa5]
2025-07-07 17:42:45 +05:30
Manocha, Rahul 85d0210da4 SWDEV-536749 - Skip building hipSquareGenericTargetOnly for static libs (#291)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/hip-tests commit: 0bf7c809d6]
2025-07-04 15:08:05 +05:30
Sang, Tao c8ff48048c SWDEV-536652 - Fix Unit_hipBindTextureToArray_Negative_Parameters (#354)
Fix sporadic failure of Unit_hipBindTextureToArray_Negative_Parameters

[ROCm/hip-tests commit: 891524ca75]
2025-07-02 10:05:52 +05:30
Sang, Tao 91681bfd28 SWDEV-516488 - Sync all devices. (#349)
[ROCm/hip-tests commit: 863f8828c3]
2025-07-02 10:05:40 +05:30
Sang, Tao 9623281087 SWDEV-539145 - Add tests of hipHostMallocUncached, hipHostAllocUncached and hipHostRegisterUncached (#348)
[ROCm/hip-tests commit: 9499bf6d1e]
2025-07-01 10:10:25 +05:30
Deshpande, Chinmay Diwakar 1ada481219 SWDEV-532676 - Fix hipcc flags for catch tests (#191)
Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>

[ROCm/hip-tests commit: 1c366ee950]
2025-06-24 21:42:11 -07:00
Chaudhary, Jatin Jaikishan 6ca3502d42 SWDEV-470698 - remove duplicate tests (#316)
Change-Id: Icedf0bd442f9a983fc590b7fde1a0e888472b65a

[ROCm/hip-tests commit: 409b47fec6]
2025-06-23 19:52:44 +05:30
Manocha, Rahul 91a6727ea6 SWDEV-538600 - Fix error code checks in some tests (#305)
[ROCm/hip-tests commit: b215381bbe]
2025-06-19 21:11:54 +05:30
Sang, Tao 976d0574cf SWDEW_516488 - Fix possible atomics tests' failures (#292)
[ROCm/hip-tests commit: 6c60fcafd8]
2025-06-14 05:33:25 +05:30
Sang, Tao 438882ceb7 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

[ROCm/hip-tests commit: ec8ff45a1d]
2025-06-11 21:11:25 +05:30
Sang, Tao 178d6036f5 SWDEV-537473 - Fix missing KERNELS_PATH (#273)
[ROCm/hip-tests commit: c4284d50c5]
2025-06-11 19:44:36 +05:30
Belton-Schure, Aidan a81c743078 SWDEV-482125 - fix Unit_Rtc_MathFunctions_header (#270)
[ROCm/hip-tests commit: 6fbcc0726f]
2025-06-10 22:52:50 +05:30
Venkatesh, Anavena 6735af957a Test cases for Fp4 and fp6 coversion apis (#169)
[ROCm/hip-tests commit: 6e2c871652]
2025-06-10 21:29:06 +05:30
Swargam, Rambabu 069a405e27 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

[ROCm/hip-tests commit: f7712bd5a8]
2025-06-10 21:25:06 +05:30
Brzak, Branislav d0aa27a704 SWDEV-534689 - Remove Unit_hipLaunchCooperativeKernelMultiDevice_Streams (#209)
[ROCm/hip-tests commit: 90d7eea054]
2025-06-04 19:52:16 +05:30
Gollamandala, Srinivasarao f62fdb7380 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

[ROCm/hip-tests commit: 60b3aae3c0]
2025-06-03 14:37:25 +05:30
Belton-Schure, Aidan c8a720088f 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>

[ROCm/hip-tests commit: ef6c95f6ce]
2025-05-29 21:38:20 +05:30
Manocha, Rahul 98c34321f1 SWDEV-460098 - Fix error codes for hipLaunchKernel APIs to match cuda (#206)
Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>

[ROCm/hip-tests commit: ea8a7e1e54]
2025-05-29 13:20:49 +05:30
Dittakavi, Satyanvesh f3da3d39fe SWDEV-508973 - Fix the catch tests failures due to change in kernel validation error codes to match CUDA (#198)
[ROCm/hip-tests commit: 1be3aa8283]
2025-05-26 18:41:58 +05:30
Arandjelovic, Marko a59ada9e03 Remove ifdef guards in VMM tests (#196)
[ROCm/hip-tests commit: 74e743dcb9]
2025-05-22 20:49:57 +05:30
Assiouras, Ioannis fdfe1eaf68 SWDEV-508965 - Remove references to HIP_MEMSET_NODE_PARAMS struct (#195)
[ROCm/hip-tests commit: d1e6f076e2]
2025-05-22 13:08:36 +05:30
Assiouras, Ioannis 103dcd35af SWDEV-533235 - Fix reference counting in Unit_hipGraphUserObj_ClonedGraph (#189)
[ROCm/hip-tests commit: 99f0083a64]
2025-05-21 09:31:39 -07:00
Assiouras, Ioannis 9e384db161 Remove invalid section that passes a destroyed stream in Unit_hipMemcpyPeerAsync_Negative_Parameters
[ROCm/hip-tests commit: 3b98cef62a]
2025-05-20 20:32:35 +01:00
Godavarthy Surya, Anusha 63376e2b32 SWDEV-519722 - Update test to work on MGpu machines without P2P access (#145)
[ROCm/hip-tests commit: 161ecddafe]
2025-05-14 20:52:58 +05:30
Andryeyev, German 0ad7f9c137 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.

[ROCm/hip-tests commit: 0b1eed5acd]
2025-05-14 20:52:41 +05:30
GunaShekar, Ajay edefd09753 SWDEV-527806 - hip-tests . Add P2P checks for mGPU atomics tests (#168)
[ROCm/hip-tests commit: 86eb49aa7f]
2025-05-14 20:49:01 +05:30
Arandjelovic, Marko 6ed6a3cd09 Remove SetGetCacheConfig tests as APIs are not implemented (#84)
[ROCm/hip-tests commit: 552ed6125e]
2025-05-14 16:27:05 +02:00
Arandjelovic, Marko 5ad13665eb SWDEV-525066 - Enable hipDeviceGetGraphMemAttribute functional tests (#71)
[ROCm/hip-tests commit: 974d47ad8d]
2025-05-14 16:06:23 +02:00
Hernandez, Gerardo 5d5fa6fc2a SWDEV-420237 - Add tests for reduce sync operations (#102)
[ROCm/hip-tests commit: 001affc6ae]
2025-05-14 11:57:05 +01:00
Gollamandala, Srinivasarao 105f388d54 SWDEV-514396-[catch2][dtest]-Delay the hipUserObjectRelease (#68)
[ROCm/hip-tests commit: d9cb3c7fb1]
2025-05-13 22:16:15 +05:30
Sang, Tao f0dee29292 SWDEV-508863 - Add generic target in compressed fatbin test (#28)
Change-Id: Iae148c3c998b18247624938512918dbb31bc462d

[ROCm/hip-tests commit: 5a33b33ec8]
2025-05-13 09:34:30 -04:00
Sang, Tao 0da26f9d89 SWDEV-521083 - Fix __hip_atomic_fetch_max/min() issues (#81)
Fix __hip_atomic_fetch_max/min() issues in float types

[ROCm/hip-tests commit: 63c545989b]
2025-05-13 15:10:09 +02:00
Arandjelovic, Marko 563cb3112f SWDEV-499927 - Enable Virtual Memory tests on NV platform (#79)
[ROCm/hip-tests commit: dec3869d6d]
2025-05-13 00:21:38 +02:00
GunaShekar, Ajay d3b8eb6ce1 SWDEV-522333 - hipDeviceGetPCIBusId relax format sizes (#33)
[ROCm/hip-tests commit: fd8833cc83]
2025-05-12 12:50:34 -07:00
Patel, Jaydeepkumar 0a42915f18 SWDEV-521135 - Remove Unit_UUID_setEnv_Thread_Lock and correct uuidList.cc (#31)
[ROCm/hip-tests commit: 8abcd95564]
2025-05-12 17:00:46 +05:30
Xie, Pengda dd6d3a6cd3 SWDEV-514841 - Remove invalid stream tests on AMD platform
[ROCm/hip-tests commit: 0c1a7bf155]
2025-05-08 16:25:23 -07:00
Huang, AnZhong 035c860b2a SWDEV-527299 - Support HIP_POINTER_ATTRIBUTE_CONTEXT (#122)
Removed this verification, as HIP_POINTER_ATTRIBUTE_CONTEXT will be supported.

[ROCm/hip-tests commit: 2c800b120d]
2025-05-08 11:35:48 +05:30
Brzak, Branislav f63e3e9c0a SWDEV-515519 - Synchronize after mem pool trim (#89)
[ROCm/hip-tests commit: 3f30d6d8ea]
2025-04-30 16:09:15 +02:00
GunaShekar, Ajay d14f5ed76f SWDEV-524925 - hip-tests build with custom hip (#65)
[ROCm/hip-tests commit: 52e72e9e00]
2025-04-29 08:51:04 -07:00
Sang, Tao 17369ea4e3 SWDEV-507388 - Check image support. (#6)
Change-Id: Ieda106374eb066cd22ddd1194a9f9b1352c26d16

[ROCm/hip-tests commit: 7bc6eda321]
2025-04-23 21:20:13 +05:30
Stojiljkovic, Vladana e6ddf21492 SWDEV-511290 - Remove invalid Unit_hipMemSetAccess_MapPhysChksFromMulDev test (#93)
Co-authored-by: agodavar_amdeng <Anusha.GodavarthySurya@amd.com>

[ROCm/hip-tests commit: 0d72e7fc8f]
2025-04-15 17:28:20 +02:00
Xie, Jiabao(Jimbo) 4ec606f1ee 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>

[ROCm/hip-tests commit: e25680e4d1]
2025-04-03 11:35:38 -04:00
Brzak, Branislav ee0e2af0e1 SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941 (#30)
[ROCm/hip-tests commit: 902988494e]
2025-03-19 15:42:18 +01:00
Ioannis Assiouras 9c088c00f4 SWDEV-516180 - Skip OpenGL tests on devices with no image support
Change-Id: Ic7a86fa2cf9c1072ab3d08f4346764a3bef7d415


[ROCm/hip-tests commit: bc055cc2b7]
2025-03-11 10:45:53 -04:00