Commit gráf

1805 Commit-ok

Szerző SHA1 Üzenet Dátum
Guan, Zichuan 184142b4b6 Fix CMakeLists.txt for square sample (#61)
Co-authored-by: Matthias Knorr <MKKnorr@web.de>
2025-04-29 09:59:53 -04:00
Hernandez, Gerardo a423c20690 Disable deviceAllocation tests (#141)
Disable tests calling TestMemoryAcrossMulKernels()/TestMemoryAcrossMulKernelsUsingGraph() as they might be hanging the whole machine on Windows
2025-04-24 13:39:04 +05:30
Hila, Nino 8de71101d0 Add palamida.yml (#138) 2025-04-23 13:16:28 -07:00
Sang, Tao 7bc6eda321 SWDEV-507388 - Check image support. (#6)
Change-Id: Ieda106374eb066cd22ddd1194a9f9b1352c26d16
2025-04-23 21:20:13 +05:30
Stojiljkovic, Vladana 84d60a408d SWDEV-505795 - Enable some IPC tests (#86)
Co-authored-by: agodavar_amdeng <Anusha.GodavarthySurya@amd.com>
2025-04-17 16:30:25 +02:00
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
Mallya, Ameya Keshava d6f98eb109 fixed syntax to mainline 2025-04-01 09:52:08 -07:00
Mallya, Ameya Keshava f2aaec260c Adding !verify features 2025-03-31 12:51:03 -07:00
Mallya, Ameya Keshava b41bc66424 Added KWS check for amd-mainline 2025-03-28 08:07:58 -07:00
Gupta, Maneesh 2832b7431c Update CODEOWNERS (#34) 2025-03-20 15:45:31 +05:30
Brzak, Branislav 902988494e SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941 (#30) 2025-03-19 15:42:18 +01:00
Mallya, Ameya Keshava d985ea9821 Added KWS check 2025-03-12 14:57:55 -07:00
Mallya, Ameya Keshava 43162400d7 Adding rocm-ci-caller 2025-03-12 14:56:55 -07:00
Ioannis Assiouras bc055cc2b7 SWDEV-516180 - Skip OpenGL tests on devices with no image support
Change-Id: Ic7a86fa2cf9c1072ab3d08f4346764a3bef7d415
2025-03-11 10:45:53 -04:00
taosang2 f581518103 SWDEV-447973 - Add generic target codeobj test
Add simple tests to verify generic target code
objects.

Change-Id: Iae148c3c938b18247624938512918dbb3cbc462e
2025-03-10 17:45:14 -04:00
German Andryeyev 168312b97f 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
2025-03-10 15:49:10 -04:00
Aidan Belton-Schure 714cc594e7 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
2025-03-10 05:07:19 -04:00
Jaydeep Patel c0fc5426e5 SWDEV-511890 - Use max grid dim from device prop like block dim in checking for corner cases.
Change-Id: I557c70186b4a695b7c151952bf8cfd8dae54eb20
2025-03-10 00:55:15 -04:00
Tao Sang 94eea4db59 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
2025-03-07 14:52:10 -05:00
Julia Jiang 6b5a5dde28 SWDEV - 508961 - Update requestedHandleType in hip-tests repos
Change-Id: I5d8a1ae1d36ecdf2786dbd8a6e83c3692592efb6
2025-03-06 11:38:14 -05:00
Ioannis Assiouras d33a0fa75a 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
2025-03-06 11:31:35 -05:00
Ioannis Assiouras cfb6a08bc0 SWDEV-516461 - Skip hipmemcpy call to device dst that is freed, for xnack
Change-Id: Icd08675de881e70054e2ba7be17c62d095d33d8c
2025-03-06 11:26:18 -05:00
Aidan Belton-Schure 674ed47852 SWDEV-489364 - Free memory in hipAPIStreamDisable
Change-Id: I4f740fe803bcc4bbf57865173d92c567de65fdbb
2025-03-06 04:07:21 -05:00
Marko Arandjelovic 7ef404621e SWDEV-441296 - Add unit test for hipTexObjectCreate
Change-Id: Ibfc2c910a54ccd1686a3939a1008c472a8465137
2025-03-05 12:10:14 -05:00
taosang2 f6471c5b2c SWDEV-507141 - Make some buffered print tests shorter
Change-Id: I651c25f011c24d2192c62596722b8fddc581655b
2025-03-05 11:33:55 -05:00
taosang2 1a7df073ba SWDEV-501963 - Add missing codes for gfx950
Change-Id: I6b3c6bf54c61cffd44cd6f17b75998f751b75724
2025-03-05 08:18:22 -05:00
Jaydeep Patel b42adb24b4 SWDEV-457316 - Fix tests to use graph's reserve memory instead of hipMemGetInfo.
Change-Id: I839aaec3f502ed8686651fdc05b71c0da3e5dea2
2025-03-05 00:48:15 -05:00
Marko Arandjelovic 293ff3a025 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
2025-03-04 13:08:30 -05:00
Jaydeep Patel 2356da049c SWDEV-512585 - Don't use catch2's REQUIRE macro in child/worker thread which might fail.
Change-Id: I513176259eb87879ea2bf557e923b2c2cd6166a2
2025-03-04 12:38:35 -05:00
Ioannis Assiouras bae567a560 SWDEV-517040 - Prevent segfault in Unit_hiprtc_includepath if can't open saxpy.h
Change-Id: Ie26857fe5dc16c8053b67b145d88588ce209281c
2025-03-03 19:34:37 -05:00
Jaydeep Patel 192528c7f2 SWDEV-465220 - Update Kernel Launch negative cases to match with current CLR code.
Change-Id: I891544cdfdc1092467454189ea348f986fc12818
2025-03-03 10:48:18 -05:00
Aidan Belton-Schure 5007b3f5e4 SWDEV-491303 - Add_concurrent_stream_error_checking
Change-Id: I70268bfa2b97994e0906ded6bae9885ec540292e
2025-03-03 04:21:40 -05:00
Saleel Kudchadker d8f5c2560f SWDEV-515407 - Fix incorrect test behavior
- For H2D transfer cases, we cannot enfore ErrorNotReady behavior if the
  source is unpinned. In that case the driver can sync depending on if
it pins or stages the source buffer.

Change-Id: I436a4b667bff172cfbadc58631a46a215c40fcb1
2025-02-26 11:39:34 -05:00
taosang2 ff516573f2 SWDEV-1 Disable a test
Disable Performance_hipExtLaunchKernelGGL_QueryGPUFrequency
as it should be a local perf test.

Change-Id: I7e94743d6958ffaadae9cff297e3f2d93f9ff817
2025-02-25 09:37:38 -05:00
Rambabu Swargam c54034fe59 SWDEV-517063 - [catch2][dtest] Disable failing hipGraphInstantiateWithFlags tests
Change-Id: I8b999c7b6de66dccde5bc00dd7a2a87d2c562a96
2025-02-24 09:35:19 -05:00
Pengda Xie b46d6abdcb SWDEV-514841 - Remove invalid stream tests which leads to segfault
Change-Id: I230c4ccc0d2f591cbf2cd0e019f910094f4f3f26
2025-02-21 12:08:36 +00:00
Dragoslav Sicarov c4135a6090 SWDEV-502224 - Fix HIP catch2 test failure in CPX NPS4 mode
Add dynamic arrays of devices to avoid array overflow.
Fixed the following tests:
Unit_hipDeviceGetByPCIBusId_WrongBusID)
Unit_hipSetDevice_ValidVisibleDeviceList
Unit_hipSetDevice_MinRvdMaxHvdDevicesList

Change-Id: I73d022321609d20ef2bd419f2cff287f6002a4d2
2025-02-19 11:35:58 -05:00
Anusha GodavarthySurya 48989fbfc6 SWDEV-508023 - Disable hipDeviceGetGraphMemAttribute_Positive_DoubleMemory Linux psdb failure
Change-Id: Iacfdc1bc13e8da2f5df8750bb315a37d33cea666
2025-02-14 00:27:08 -05:00
Jaydeep Patel 28e93a178f SWDEV-511125 - Don't use device# as it varies BlockDim & GridDim.
Change-Id: I3ddd0fc616c28adc2d35e64550bac4ca1c09bd6a
2025-02-13 13:40:03 -05:00
Tao Sang 8ea926725b SWDEV-503359 - Fix Unit_hipExtMallocWithFlags_CoherentTst
Fix Unit_hipExtMallocWithFlags_CoherentTst hang on device fine
grain access memory because host builtin atomic functions malfunctions
on it.
Fix SWDEV-507938 also.
Change-Id: Ie26dbf6b7e5aa8cb898d11ae5ed5ecf1267c3228
2025-02-13 13:37:36 -05:00
Marko Arandjelovic cddb658314 SWDEV-504084 - Added multidevice testcases for hipModuleGetFunction/Global
Change-Id: I53d6d63f93c800efa2ec0ff2be5ae593756549e0
2025-02-13 12:52:35 -05:00
Rahul Manocha fc270bc90c SWDEV-503246 - Fix atomic memory order test hangs for AGENT scope
1) Cannot assume that blockIdx.x = 0 and threadIdx.x = 0 will be
run first in TestKernel. Initialize flags outside kernels.
2) use __hip_atomic_store in device code and __atomic_store_n for host.

Change-Id: If4e9274d2c16af55b53a626c3ba2fb0db7052d4b
2025-02-13 12:40:28 -05:00
Vladana Stojiljkovic d58018ee1b SWDEV-476836 - Implement tests for hipTexRefGetAddressMode
Change-Id: Ia2003d0a7736145e745a55941ae6927100ba96a6
2025-02-12 06:58:10 -05:00
Vladana Stojiljkovic 9252a08b27 SWDEV-476554 - Implement tests for hipTexRefSetAddressMode
Change-Id: Iaf0e728ff90be12b5fca71786e6c3a18c598b01b
2025-02-12 06:58:04 -05:00
Vladana Stojiljkovic 07f3943c25 SWDEV-505795, SWDEV-511679 - Disable some IPC tests for all asics
Change-Id: I6d48654432af81c3f7f6f064e0a52b68be1f15fe
2025-02-12 03:59:18 -05:00
Rahul Manocha c7236e3e2e SWDEV-492165 - Add new test types for atomicCAS and unsafeAtomicAdd
Change-Id: Icacb6e94c64c5d4ce3f15c6d4a50fe8506cedfa9
2025-02-11 13:21:22 -05:00
Branislav Brzak fc1066ca9f SWDEV-447357 - Implement test coverage report integration
Change-Id: I2dd0d375517e421493713106ab436b63222be5d6
2025-02-05 04:17:09 -05:00
Ioannis Assiouras 472e0b7b20 SWDEV-490855 - Enabled Perf_KernelLaunchLatency_IncreasingNumberOfStreams under perftests
Change-Id: I2a494022d5cc113dce044faadd7d2462a2aece08
2025-02-04 13:20:47 -05:00
Tao Sang 267d120bb0 FEAT-62198 - Extend device scope for disabled cases
Change-Id: I814e35c528d90ed2bbb34d77377f1b7fd3f1f11d
2025-01-31 11:42:13 -05:00