Commit Graph

1770 Commits

Author SHA1 Message Date
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
Jatin Chaudhary 84a460d96b SWDEV-501779 - add host tests for fp16
Change-Id: I47a117bb6fbfe1d5c7262238b97d9fccf7d4222c
2025-01-31 04:24:12 -05:00
Jatin Chaudhary 4ccc9677c0 SWDEV-425090 - remove some tests
Remove set of tests which checks for string "error" in clang's output.
This is something HIP can not control and can lead to failures when we
move around with C++ versions or clang decides to make some changes in
its error logging.

Change-Id: Iddbc3177d5a934bd4113e1475d0c759019270aed
2025-01-31 04:21:28 -05:00
Vladana Stojiljkovic c1cc0e4ffe SWDEV-477981 - Implement tests for hipTexRefGetFlags
Change-Id: Iaa57185aa190ee44eb4ca54bc96bfac777ba0dd2
2025-01-31 04:04:18 -05:00
Vladana Stojiljkovic 9a41214bba SWDEV-475127 - Implement tests for hipBindTextureToArray
Change-Id: Id9eb92eed120dc214a4bfc9405997e4b706f7a4b
2025-01-31 04:03:54 -05:00
Anavena Venkatesh e9177bd83b SWDEV-491363 - [catch2][dtest] Added test cases for missed graph APIs
Change-Id: Ic740c52992b8d0a325f09b1db0adf599561e1a1d
2025-01-27 10:45:37 -05:00
Ioannis Assiouras 22946cd158 SWDEV-493278 - Fix error codes in Unit_hipStreamBatchMemOp_Negative_Tests
Change-Id: I560da08d94b2ec41bbb5d5dc96561b79daa410a5
2025-01-27 14:00:24 +00:00
Vladana Stojiljkovic 6c5468f802 SWDEV-486969 - Reuse existing tests to verify behavior of capturing sync Memcpy APis
Change-Id: I7e94743d6957ffaadae9cff297e3f0d93f9ff806
2025-01-26 07:56:32 -05:00
Vladana Stojiljkovic 59ace1e080 SWDEV-491280 - Create capture tests for Peer APIs
Change-Id: Ib35ab1155b19e00f7f297e6eaf395709d5767d7c
2025-01-26 07:56:15 -05:00
Ajay 6059eaa7c1 SWDEV-465215 - fixes for hipFuncGetAttribute tests
Fixes SWDEV-465215, SWDEV-465213, SWDEV-465212

Change-Id: I08b114bf647366abcf900d6b2a17f77ca608fc46
2025-01-24 16:08:09 -05:00
Tao Sang 58d4bd27a3 SWDEV-479138 - Enable different address modes
Enable different address modes in tests

Change-Id: Idf69477718172614ba9c349735d3230ae765923b
2025-01-24 13:49:27 -05:00
SrinivasaRao 7d2ed4bd39 SWDEV-493278-[catch2][dtest]-Negative Tests for the hipStreamBatchMemOp API
Change-Id: I408aa01e279817b44ff05571f3251a281dd5a4f6
2025-01-24 13:47:16 -05:00
Rambabu Swargam 94f5907371 SWDEV-506876 - [catch2][dtest] Enable stress tests for hipStreamLegacy
Change-Id: Ica8d0e68f4ec19af48d6d417f018b9d8f375125d
2025-01-24 13:34:29 -05:00
Jaydeep Patel 5244a426c7 SWDEV-496544 - Memory needs visibility system wide as CPU and GPU both needs to see updated value by each other.
Change-Id: Ia80e69455aeb06b9281f75313ba39b621d6929c5
2025-01-24 13:28:17 -05:00
Tao Sang 5f2992a546 SWDEV-506090 - Fix Unit_hipMemAdvise_TstAlignedAllocMem
Change-Id: I651c25f011d24d0190c62586722b81ddc580655f
2025-01-24 13:16:27 -05:00
SrinivasaRao 01ad9df4b6 SWDEV-493282-[catch2][dtest]-Negative Tests for the hipGraphBatchMemOpNodeSetParams API
Change-Id: I4dac4608b054a7c93c2fb94b047f5e0b3f96f74d
2025-01-22 12:27:33 -05:00
Marko Arandjelovic 3809d1bb75 SWDEV-489617 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
- Since any-host-to-any-host as always synchronous, there's no need for
separate functions
 - Removed 'return' statement as it skips the rest of the test.

Change-Id: If70e0b21ad8151311d5ac7c5de789f6265cf44b6
2025-01-22 10:54:18 -05:00
Vladana Stojiljkovic 5e32a3fcd2 SWDEV-477597 - Implement tests for hipTexRefSetFlags
Change-Id: I0651882fe2eef1565a4fedfdd2fa4b23e4bb3f0a
2025-01-22 10:53:44 -05:00
Vladana Stojiljkovic d617a002eb SWDEV-475701 Implement tests for hipUnbindTexture
Change-Id: I16565b01c629774d48e8665ffb6901600980e297
2025-01-22 10:53:24 -05:00
Vladana Stojiljkovic 7fcc9542d6 SWDEV-478207 - Implement tests for hipTexRefGetMaxAnisotropy
Change-Id: I18e1aff22d56852c038d643b4527230a7a1ff22c
2025-01-22 10:53:04 -05:00
Marko Arandjelovic d7b38d051f SWDEV-478050 - Add unit test for hipTexRefGetFormat and hipTexRefSetFormat
Change-Id: Iee23fdcb20efa9529478180cdb5c28c6be702966
2025-01-22 10:52:29 -05:00
Marko Arandjelovic 7ed4d87974 SWDEV-476856 - Add unit test for hipGetTextureReference
Change-Id: I4724fb9f9d68c3ab7d4396159e46857f84e35446
2025-01-22 10:52:05 -05:00
Marko Arandjelovic 114524f732 SWDEV-475114 - Add unit test for hipBindTexture2D
Change-Id: I6d7c1b4c7d40433c914dac2b991acf228cef318f
2025-01-22 10:51:15 -05:00
Marko Arandjelovic 89c16b9ded SWDEV-478520 - Add unit test for hipTexRefSetAddress
Change-Id: I488f6d74f2ded071767c6e785845cc6d489ebe66
2025-01-22 10:50:47 -05:00
Marko Arandjelovic e7e07f1fe6 SWDEV-476825 - Add unit test for hipTexRefGetAddress
Change-Id: I65623737b6ce3cde061f6d5bf4f1c61b20a2c66f
2025-01-22 10:49:47 -05:00
Rahul Manocha 9a7d9688d7 SWDEV-488397 - Enable Peer memory access for threadfence tests
Change-Id: I4fa8c033c06dc4d247d29c43438e6a56343b0bf8
2025-01-22 10:36:16 -05:00
Jatin Chaudhary ddcdfa6b84 SWDEV-508958 - [6.4 Preview] include some used headers
Change-Id: I540c422a5ac10189af24a516e57fc804ec67797d
2025-01-22 09:10:44 -05:00
SrinivasaRao 08b2adef47 SWDEV-493299-Test Env variable to avoid silent errors with hipGetLastError feature
Change-Id: Iec5720021f626f2021595db5bb2d2c99c0deeefd
2025-01-22 09:07:40 -05:00
SrinivasaRao ed59886628 SWDEV-493280-[catch2][dtest]-Negative Tests for the hipGraphAddBatchMemOpNode API
Change-Id: I30e4a6ed8d08247a7edc5fb6b51c5297b22273de
2025-01-22 09:06:54 -05:00
SrinivasaRao 5d5614929c SWDEV-493287-[catch2][dtest] Functional tests for the hipGraphNodeFindInClone api
Change-Id: I6fa267c942f59985a2d90d5365ad49d93ef30a89
2025-01-21 22:59:51 -05:00
SrinivasaRao f24fc09ed4 SWDEV-491360-[catch2][dtest]-Improve hipGraphLaunch parallelism tests-stream collision
Change-Id: I1ea60bfbf4b738ed83a3e11ceb80ba7dd1f21998
2025-01-21 22:43:43 -05:00
SrinivasaRao 87d771b155 SWDEV-493289-[catch2][dtest]-Negative Tests for the hipGraphExecBatchMemOpNodeSetParams API
Change-Id: I52fde7f8bf7ab8275d8484aa52685830689df174
2025-01-21 13:03:41 -05:00
Rambabu Swargam c90d83366f SWDEV-491363 - [catch2][dtest] Add and Enable tests for Graph APIs
Details :
1) Add tests for hipDrvGraphExecMemsetNodeSetParams
2) Enable commented tests for hipDrvGraphMemcpyNodeSetParams

Change-Id: Ia4771e1dea022b5f4316b66c0bd585f0f941ab77
2025-01-21 12:59:03 -05:00
Rambabu Swargam 7fb9301d6b SWDEV-467854 - [catch2][dtest] Functional testcases for hipGetProcAddress API - Part 2
Change-Id: I4619f8e69b75d1193e98adce2707bf7876b1ba59
2025-01-21 12:53:28 -05:00
Aidan Belton-Schure 5fd10bc7bc SWDEV-462483 - Add test for shfl_xor_sync with small numbered groups
Change-Id: I8bd91bed686163bcb6582d16e4ff842af84a7d36
2025-01-20 10:01:31 -05:00
Marko Arandjelovic 08341ee719 SWDEV-509010 - Add missing CHECK_IMAGE_SUPPORT
Change-Id: I87c7925c0fbb7b8b9c1ecbeaa0a572f744f3a6bc
2025-01-17 08:14:22 -05:00