Commit gráf

58 Commit-ok

Szerző SHA1 Üzenet Dátum
Dittakavi, Satyanvesh b1b4968318 SWDEV-543370 - Initialize variable to fix compiler errors (#431) 2025-07-21 13:57:28 +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
GunaShekar, Ajay 52e72e9e00 SWDEV-524925 - hip-tests build with custom hip (#65) 2025-04-29 08:51:04 -07: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
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
Michael Xie 8d02e942a6 SWDEV-488231 - Add memory cleanup after test
Change-Id: I0a4f6e1649c1c30e6f76243f83681a6755b5368b
2024-12-18 12:06:57 -05:00
Rahul Manocha 45ef528bdd SWDEV-488308 - Fix memleak in NoGpuTest_hipMemcpy
Change-Id: Id349f189ffd26763c4624e76d7ea4ba139f9d8bc
2024-11-19 23:31:14 -05:00
Rahul Manocha 1d01cb0b18 SWDEV-488214 - Fix MemLeak in hipIpcMemAccess_Semaphores test
Change-Id: Iaf123e88cf3ab4e50403a26355a9440c414022ae
2024-11-19 23:30:53 -05:00
Rahul Manocha 823cc198f9 SWDEV-488304 - Fix memleak in hipIpcEventHandle test
Change-Id: Iaa51c7ba4d1fed52d08ed6f956d807c0fb2cc470
2024-11-19 23:30:16 -05:00
Rahul Manocha 255b4f5e79 SWDEV-488306 - Fix memleak for NoGpuTst_hipHostRegister
Change-Id: I919d7f24c1c9bdc9902c5b5cbd7068e8cd48d5ec
2024-11-19 23:29:50 -05:00
Michael Xie 72450ae7a1 SWDEV-492356 - Install hip-test artifacts into a single folder
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d
2024-11-13 18:22:32 -05:00
Vladana Stojiljkovic 5b67a2a4a0 SWDEV-450735 - Add compiler option for using clock64
Change-Id: I9efed88d691ee1b2b4465286b3340b820f7bf627
2024-08-29 10:26:11 +02:00
Sebastian Luzynski ea3508bf46 SWDEV-448163 - Fix doxygen warnings
This is a first batch of doxygen warnings fixes.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iba81d08b15738f80d86626113026e8a7e9cab42b
2024-03-08 04:22:28 -05:00
Ajay 1d9aadbf92 SWDEV-441112 - fix hip-tests catch build on nvidia platform
hip/hip_runtime.h path was not used correctly in some tests

Change-Id: I1a3f5fba352273ce366404f398bb5c2f7d6f283f
2024-01-17 11:34:53 -05:00
Todd tiantuo Li 050370661e SWDEV-333557 - add catch multiproc to Windows build
Change-Id: Ib1b976c9071527e508703496db234f2623a2cf84
2023-11-06 08:25:50 -05:00
Satyanvesh Dittakavi 94c082d518 SWDEV-419077 - Link the hiprtc tests explicitly with hiprtc library
Change-Id: I055b7c7dae41cc5d6230897e31caa5e836c589a2
2023-11-01 21:40:24 -04:00
Rahul Garg cf3df12106 SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit fe5206e50a.

Reason for revert: Bring back original change.

Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27
2023-10-16 17:23:01 +05:30
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
Rakesh Roy fe5206e50a SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 403afae98f.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc
2023-10-09 06:31:52 -04:00
taosang2 403afae98f SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf
2023-09-28 12:36:05 -04:00
ROCm CI Service Account 34976df246 SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d
2023-08-14 12:06:14 +05:30
ROCm CI Service Account 042234e0b2 SWDEV-403960 - [catch2][dtest] Enable xnack+ check condition (#364)
Change-Id: I9627d75d0d3258cf261c8e4bfe6c7c3c35c8f9c1
2023-07-11 11:37:23 -07:00
ROCm CI Service Account d33ccb3569 SWDEV-393910 - Port gfx940 changes to mainline. (#321)
Change-Id: I77e70bcb15fbd38b1c79c1f68b7e483b2b3e0daf
2023-06-29 08:57:51 +05:30
milos-mozetic 1af95c5a2a EXSWHTEC-224 - Test cases ID clean up and documentation for Initialization&Version (#83)
- Test cases ID clean up and documentation for Initialization and Version
2023-06-28 15:46:40 +05:30
milos-mozetic d0295c4295 EXSWHTEC-224 - Test cases ID clean up and documentation for Device Management (#70)
- Test cases ID clean up and documentation for Device Management
- Adjust doxygen comments to fix bugs
- Adjust defgroup comments for test modules
2023-06-28 09:44:00 +05:30
ROCm CI Service Account ce9eb70346 SWDEV-370743 - Adding 'accelerator' keyword in lspci grep for AMD supported devices. (#134)
Change-Id: I9daed025e86654fc7d936ef86f2d069d41c393f2
2023-01-27 20:53:50 +05:30
Rahul Garg 961245e9f4 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests
2023-01-19 14:09:14 -08:00
ROCm CI Service Account 11e8ea9b4e SWDEV-351024 - [catch2][dtest] Adding test cases for hipMemGetInfo() when HIP_HIDDEN_FREE_MEM is set. (#115)
Change-Id: I13ba98bfd73a253670faa1ed30aaef01abe5d1e5
2023-01-10 17:16:04 +05:30
ROCm CI Service Account 87fac87657 SWDEV-337452 - Changing Clock64 to WallClock64 in tests for gfx11. (#78)
Change-Id: I484fe9ff7cd56c70a37a3ac5a4a55812f8557259
2023-01-06 15:05:21 -08:00
ROCm CI Service Account 4ea304f45d SWDEV-351024 - [catch2][dtest] Multiprocess test cases for the API hipMemGetInfo() (#2864)
Change-Id: Icaf780a4f11e8f62622b3f81ba84646c734d79e1
2022-11-30 15:27:36 +05:30
Mirza Halilčević 72ab04d18d EXSWHTEC-1 - Implement additional negative parameter tests for hipIpcGetEventHandle and hipIpcOpenEventHandle (#2882) 2022-11-04 19:24:28 +05:30
Satyanvesh Dittakavi 2b5b200d7b SWDEV-350781 - Remove Pagetable validation tests from HIP (#2970) 2022-10-20 07:26:03 +05:30
ROCm CI Service Account 15593f343d SWDEV-308368 - Fix coherent test bugs (#2985)
1. Remove hipDeviceAttributePageableMemoryAccess checking as it is used to check xnack+ rather than fine-grained synchronization.
Note: hipHostMalloc() will alloc memory with fine-grained access and atomic by default when env HIP_HOST_COHERENT=1. For more information, see hip_programming_guide.
2. Fix some other bugs.

Change-Id: Ieaaed1b15b4d258193d834104b17d9f03a9e4781
2022-10-19 16:48:44 +05:30
ROCm CI Service Account 47defc1840 SWDEV-356057 - [catch2][dtest] Adding tests for no GPU environment. (#2981)
Change-Id: I1f63bd2abb1b6fe427be7264e0f5fbfa07216727
2022-10-17 13:41:29 +05:30
Paulius Velesko da453211ed Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments
2022-09-30 15:07:25 -07:00
ROCm CI Service Account 7a558e2398 SWDEV-350985 - Address hipIpcEventHandle test failure on MI200 (#2926)
Change-Id: Ie9a278caccbcc98bfa99968bc8ad974f83b2ee98
2022-09-26 07:39:26 +05:30
ROCm CI Service Account c66407bed0 SWDEV-341744 - Accept error code hipErrorInvalidDevicePointer in hipTest (#2950)
When calling hipIpcOpenMemHandle with an unitialized handle, function can also return hipErrorInvalidDevicePointer

Change-Id: Ic55ea9c61edeb998870cf6a34f7c80123569fecb
2022-09-19 11:19:03 +05:30
ROCm CI Service Account d0aaed906d SWDEV-353807 - Fixes multiple catch issues (#2912)
- enforcing c++17 for all tests
- Warning as error: ignoring return value

Change-Id: I3d171540403f74222e631d1a8e393386461c9729
2022-08-30 16:53:21 -07:00
ROCm CI Service Account de0eb21023 SWDEV-312831 - Adding device side malloc/new tests (#2635)
Following tests are added in this patch
1) Functional Tests
2) Stress Tests
3) Multiprocess Tests

Change-Id: Ifd2310fe8f5d555a9af9b87c296fdf6dd4a0a552
2022-08-05 16:21:15 +05:30
ROCm CI Service Account af20ae3a33 SWDEV-1 - Fixed Malloc test failures (#2847)
Change-Id: I27042e743dda78f34e5f6b0d548e7d507b4f0ba3
2022-08-05 08:56:44 +05:30
ROCm CI Service Account 2c52240b0e SWDEV-344211 - Fix hipHostMalloc tests (#2823)
- Increase allocation size to 30MB to make sure new page table allocations happen
- Change validation criteria to check for increase in VRAM usage for visible HIP devices

Change-Id: Ie5bf1a89ceda0ff50140f426235047adcca0fdea
2022-07-26 11:46:32 +05:30
ROCm CI Service Account 7b0ed9e8d3 SWDEV-228445 - New tests for HIP IPC Mem handle APIs (#2705)
Change-Id: I721cbbadfdb8a38b53097a8ac8a1c8cb9ce05d49
2022-06-02 17:02:19 +05:30
ROCm CI Service Account 814ebb6749 SWDEV-228445 - New tests for hipIpcEventHandle apis (#2706)
Change-Id: I0d01ed3f6d3a4ae14f05c79eb2b78ab1c463861b
2022-06-02 17:01:42 +05:30
ROCm CI Service Account fb25b090eb SWDEV-329590 - Addresses coherency test failures on Navi21 (#2652)
- Tests using HSA_XNACK=1 restricted to MI200
- Added checks to verify HMM and Pageable memory access attributes to avoid failures

Change-Id: Ic0b107264378ce0c4f0aab770c941ae2b57342c2
2022-05-17 11:31:19 +05:30
ROCm CI Service Account 7fa5b6ddfe SWDEV-323849 - Fix for dtests failures (#2539)
Change-Id: Iffd78656d7f67b11d3eb6d1e7859bb6168b68a57
2022-03-10 15:04:48 +05:30
ROCm CI Service Account d2a764dd1c SWDEV-323848 - Fix for p2p failed tests (#2537)
Added peer check for the p2p related testcases

Change-Id: I9131b284baf33bef18eceaa7ed462d733f91be92
2022-03-10 15:02:31 +05:30
agunashe ec8d624959 SWDEV-273235 - hip change to build catch tests on Windows (#2472)
* SWDEV-273235 - hip change to build catch tests on Windows

Change-Id: I96de305694609c669cb81480f3572d987ce87d98

* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
2022-02-09 08:17:45 -08:00
agunashe f90c5d218c SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206
2021-11-26 11:02:29 +05:30
lthakur 3fbea0cd5a SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53
2021-11-25 15:11:10 +05:30