Graphe des révisions

1084 Révisions

Auteur SHA1 Message Date
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
taosang2 53ddaca565 SWDEV-447973 - Add generic target codeobj test
Add simple tests to verify generic target code
objects.

Change-Id: Iae148c3c938b18247624938512918dbb3cbc462e


[ROCm/hip-tests commit: f581518103]
2025-03-10 17:45:14 -04:00
German Andryeyev 86432880c6 SWDEV-497841 - Change the validation condition
The test wrongly assumed that the reserved memory should always
be equal to the allocation size. However, suballocations are possible

Change-Id: I1d1f3c3cdb231188f8b35ed64ffe4e2a3a2f16f9


[ROCm/hip-tests commit: 168312b97f]
2025-03-10 15:49:10 -04:00
Aidan Belton-Schure 05e6c835c6 SWDEV-514965 - Free leaking memory in kernel tests
* This also removes test that is invalid on GPUs
  - As it requires releasing memory on the device (which it does not do)
  - Copying back the kernel argument to the host
  - It is also a NO-OP as the queue has no pushes to pop

Change-Id: I8050cd400d34f78d5afce71bf0e3d57d1878bef0


[ROCm/hip-tests commit: 714cc594e7]
2025-03-10 05:07:19 -04:00
Jaydeep Patel 1eb66249d6 SWDEV-511890 - Use max grid dim from device prop like block dim in checking for corner cases.
Change-Id: I557c70186b4a695b7c151952bf8cfd8dae54eb20


[ROCm/hip-tests commit: c0fc5426e5]
2025-03-10 00:55:15 -04:00
Tao Sang a697edb15b SWDEV-505853 - Fix Unit_hipMemPoolApi_BasicAlloc in mgpu
Unit_hipMemPoolApi_BasicAlloc expects to work on device 0, but other
tests will set not-0 devices in mgpu. This leads to hang of
Unit_hipMemPoolApi_BasicAlloc. Fix by set device 0 in head code
of Unit_hipMemPoolApi_BasicAlloc.

SWDEV-508872 - Fix Perf_hipPerfMemFill_test

When mem size is 2G, the test is so slow that it looks like stuckness.
Set top mem size to 1G can make the test pass in an acceptiable time.

Change-Id: Ie26dbf597e5ba8cb898d1aae5ed5ecf0267c3228


[ROCm/hip-tests commit: 94eea4db59]
2025-03-07 14:52:10 -05:00
Julia Jiang 66bee403c7 SWDEV - 508961 - Update requestedHandleType in hip-tests repos
Change-Id: I5d8a1ae1d36ecdf2786dbd8a6e83c3692592efb6


[ROCm/hip-tests commit: 6b5a5dde28]
2025-03-06 11:38:14 -05:00
Ioannis Assiouras fe7976ea28 SWDEV-518423 - Remove incorrect Unit_hipMemSetAccess_AccessDirectlyFromHost test
The test sets the hipMemCreate and hipMemSetAccess properties
to device but accesses the mapped memory directly from the host.

Change-Id: I2ae51a2658acc01aff39fc371ba97191cc9b3878


[ROCm/hip-tests commit: d33a0fa75a]
2025-03-06 11:31:35 -05:00
Ioannis Assiouras 8bbd742988 SWDEV-516461 - Skip hipmemcpy call to device dst that is freed, for xnack
Change-Id: Icd08675de881e70054e2ba7be17c62d095d33d8c


[ROCm/hip-tests commit: cfb6a08bc0]
2025-03-06 11:26:18 -05:00
Aidan Belton-Schure 3838bda081 SWDEV-489364 - Free memory in hipAPIStreamDisable
Change-Id: I4f740fe803bcc4bbf57865173d92c567de65fdbb


[ROCm/hip-tests commit: 674ed47852]
2025-03-06 04:07:21 -05:00
Marko Arandjelovic fe2597a64c SWDEV-441296 - Add unit test for hipTexObjectCreate
Change-Id: Ibfc2c910a54ccd1686a3939a1008c472a8465137


[ROCm/hip-tests commit: 7ef404621e]
2025-03-05 12:10:14 -05:00
taosang2 a680720fa0 SWDEV-507141 - Make some buffered print tests shorter
Change-Id: I651c25f011c24d2192c62596722b8fddc581655b


[ROCm/hip-tests commit: f6471c5b2c]
2025-03-05 11:33:55 -05:00
taosang2 f2ab8e53cc SWDEV-501963 - Add missing codes for gfx950
Change-Id: I6b3c6bf54c61cffd44cd6f17b75998f751b75724


[ROCm/hip-tests commit: 1a7df073ba]
2025-03-05 08:18:22 -05:00
Jaydeep Patel aeae2fcbb1 SWDEV-457316 - Fix tests to use graph's reserve memory instead of hipMemGetInfo.
Change-Id: I839aaec3f502ed8686651fdc05b71c0da3e5dea2


[ROCm/hip-tests commit: b42adb24b4]
2025-03-05 00:48:15 -05:00
Marko Arandjelovic 5fa5c5d886 SWDEV-504084 - Corrected CooperativeKernelMultipleDevice testcases
Module and stream should be created on the same device, while hipModuleGetFunction can be called from any device.

Change-Id: I4a424f9631678684292e40e05ffbaf3d887aea55


[ROCm/hip-tests commit: 293ff3a025]
2025-03-04 13:08:30 -05:00
Jaydeep Patel 78cf74fe18 SWDEV-512585 - Don't use catch2's REQUIRE macro in child/worker thread which might fail.
Change-Id: I513176259eb87879ea2bf557e923b2c2cd6166a2


[ROCm/hip-tests commit: 2356da049c]
2025-03-04 12:38:35 -05:00