Граф коммитов

91 Коммитов

Автор SHA1 Сообщение Дата
Swargam, Rambabu f7712bd5a8 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
2025-06-10 21:25:06 +05:30
Arandjelovic, Marko 552ed6125e Remove SetGetCacheConfig tests as APIs are not implemented (#84) 2025-05-14 16:27:05 +02:00
GunaShekar, Ajay fd8833cc83 SWDEV-522333 - hipDeviceGetPCIBusId relax format sizes (#33) 2025-05-12 12:50:34 -07:00
Patel, Jaydeepkumar 8abcd95564 SWDEV-521135 - Remove Unit_UUID_setEnv_Thread_Lock and correct uuidList.cc (#31) 2025-05-12 17:00:46 +05:30
Xie, Pengda 0c1a7bf155 SWDEV-514841 - Remove invalid stream tests on AMD platform 2025-05-08 16:25:23 -07: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
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
Vladana Stojiljkovic 59ace1e080 SWDEV-491280 - Create capture tests for Peer APIs
Change-Id: Ib35ab1155b19e00f7f297e6eaf395709d5767d7c
2025-01-26 07:56:15 -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
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
Jaydeep Patel 9be5380d40 SWDEV-500201 - UUID deduction logic ends up accessing empty map/nullptr on Phoenix2 APU as it finds GFX-XX which is ignored in logic.
Change-Id: Ieed60dc4665d2b87ea994834457b026a3f58cb49
2025-01-13 13:53:08 -05:00
Ioannis Assiouras e4077f827c SWDEV-474345 - Address potential segmentation fault in Print_Out_Attributes test
Change-Id: Ie507d3da66d9644eea56a510e76564af1970e2c0
2024-12-05 04:52:04 -05:00
Satyanvesh Dittakavi 9cf127697e SWDEV-487649 - SWDEV-487639 - SWDEV-487636 - Fix memory leaks in catch tests
Change-Id: I7943ecffec6d470789aabde07e6c52d6b871cc13
2024-11-26 01:55:39 -05:00
Ioannis Assiouras b06dda1f09 SWDEV-492356 - Install artifacts needed by UUID tests at the top level directory
Change-Id: I960efecfdfc7a0c39a8beec6a334e6aa08095f9c
2024-11-22 11:02:23 +00:00
SrinivasaRao 7348d05b1d SWDEV-467848-[catch2][dtest] Functional tests for HIP_VISIBLE_DEVICES compatibility with UUIDs
Change-Id: I45eccecee2fd9fdb157be46fad2a37e675acd19c
2024-11-15 07:08:15 -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
Jaydeep Patel 2f067487d2 SWDEV-479807 - Skip if peer access is not supported.
Change-Id: I2a40976e7e1a4c86c41ea86e87359c7d4b85c6d8
2024-10-23 10:57:23 -04:00
Rahul Manocha 4e99f68b03 [SWDEV-467733] - Set Cache Config Negative Param test fix
Change-Id: I058ca23a05e63aaaa54ea22e2b509593764cd7bc
2024-09-24 12:26:35 -04:00
Ioannis Assiouras 1bd8e9dcf4 SWDEV-472309 - Disable hipGetProcAddress tests for static build
Change-Id: I7018829557f9e7132b7e4a71b31de5e67ed29218
2024-08-08 16:44:12 -04:00
Ioannis Assiouras e68fd92dd2 SWDEV-457944 - Fixed Unit_hipDeviceName_gcnArchName_And_rocm_agent_enumerator
Change-Id: I184af328177ad38072e4a20040a7f5d8b717baf1
2024-05-07 17:43:51 -04:00
kjayapra-amd 195570e142 SWDEV-437832 - Adding new test to print if the device is APU.
Change-Id: Iab97730e25d565d04a31ce526fbcacfc3c6d84bd
2024-05-07 06:53:44 -04:00
SrinivasaRao 2a13a47e99 SWDEV-449770 - [catch2][dtest] Functional test cases for the hipGetProcAddress API
Change-Id: I15dd2551224f36f4469cf9fc93246de9f30d9588
2024-04-19 12:25:36 -04:00
Rupam Chetia 92292f84eb SWDEV-435039 - [catch2][dtest] Verify hipDeviceProp_t gcnArchName and rocm_agent_enumerator details
Change-Id: I1b34a631c45382200979bd5ff40b1aced75b5de4
2024-04-03 11:53:46 -04:00
Branislav Brzak 6c23e25c86 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b
2024-03-25 05:18:34 -04:00
Jaydeep Patel b45bc412d7 SWDEV-447525 - Zero-initialize hipMemPoolProps.
Change-Id: Iee71961bd1d679f0a6a9223e6387748602706c2d
2024-03-15 14:26:00 +00:00
Mirza Halilcevic c6ba00b9de EXSWHTEC-341 - Refactor tests for hipDeviceSetLimit and hipDeviceGetLimit (#425)
Change-Id: Ib1e6937d0e391ec31fac47b89bb59489cff6a284
2024-02-15 19:41:24 +05:30
Rakesh Roy 569b088eb8 SWDEV-388493 - Delete test Unit_hipGetDeviceAttribute_CheckFineGrainSupport
- This test causes build failure when custom HIP_PATH is used
- It doesn't add much value as it verifies hipDeviceAttributeFineGrainSupport against HSA APIs
- In rare case only it can fail, because internally HIP uses the same HSA APIs for hipDeviceAttributeFineGrainSupport.

Change-Id: If3b566d1c784a318e076b640cc2f063b84e25413
2024-01-26 14:26:15 -05:00
Rakesh Roy f85b731a5c SWDEV-388493 - Use HSA APIs instead of rocminfo
- Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/217
- For Unit_hipGetDeviceAttribute_CheckFineGrainSupport test, get segment information using HSA APIs instead of rocminfo

Change-Id: I20f4c8a6669684a2326a3ce61735c4fa10433f9d
2024-01-18 01:03:12 -05:00
Jatin Chaudhary a87786f060 SWDEV-431399 - fix issues highlighted by address sanitizer
Change-Id: I927009a8d408bdf13677ce5cc926908fb4552441
2024-01-15 04:01:36 -05:00
Jatin Chaudhary af3ac29c40 SWDEV-430619 - fix Unit_hipDeviceGetUuid_From_RocmInfo test
Ignore the iGPU when iterating rocminfo and correct the bounds check
when matching results with HIP API. Also do not compare bytes directly,
use string to do a string compare as it can go out of bounds.
Disabling this test on windows till I get hold of a working windows
machine.

Change-Id: Icf811e0310776567afecea92e1d54e8438b39235
2024-01-08 04:21:52 -05:00
vinay birur ea4476770a SWDEV-388833 - [catch2][dtest] p2p tests migrated from dtests to catch2
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/319,

Change-Id: I6024fd5172a9765756938601a30ed0469b5f1d5b
2023-11-24 05:36:34 -05:00
Ioannis Assiouras 9c0686dded SWDEV-433143 - Changes VLA to std::vector in hipDeviceGetUuid
Change-Id: I7251b6a6e8efa7d4051c50422c0022623862d8ae
2023-11-20 10:08:16 +00:00
taosang2 a79d6f8361 SWDEV-364236 - Add layered texture object tests
Add layered array and texture object tests for all
types.

Change-Id: Ifb4d085a526c1ff7d1b7afe528c194d536b99db8
2023-11-17 16:16:08 -05:00
SrinivasaRao be7fdcb72c SWDEV-416343 - [catch2][dtest] Functional test cases for the hipDeviceGetUuid() API
Change-Id: I6c75f8282d6d78cdee224e018f3e70bfd5512a03
2023-11-17 06:26:35 -05:00
Todd tiantuo Li 79d1fd1170 SWDEV-422544 - remove the check for hipDeviceAttributeUnifiedAddressing as a fixed value
Change-Id: I682eeb194903e4b74cd41597164f3622975daea6
2023-11-01 21:49:15 -04:00
mbhiutra 6bc9d607ac SWDEV-415965 - [catch2][dtest] Added test for newly added member hipDeviceAttributeHostRegisterSupported
Change-Id: I89f716f1be9c5a36d5ffdb24e056a13cc4a493ca
2023-11-01 21:37:07 -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
mbhiutra cc35feba07 SWDEV-415965 - [catch2][dtest] Added test for newly added member of hipDeviceProp_t
Move the test of AMD specific attribute into proper section

Change-Id: Id35e604e68123eee623a616ba6cd680097f6556d
2023-10-12 12:07:49 -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
jiabaxie 6dc7b081cc SWDEV-400002 - [ABI Break] remove unsupported hip enums
Change-Id: Ic8bd02a7a2385c06d55a8ee01b950cd6d372f5ce
2023-10-05 02:18:24 -04:00
taosang2 403afae98f SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf
2023-09-28 12:36:05 -04:00
Jatin Chaudhary 2c17edbced SWDEV-306642 - remove gcnArch from tests
Change-Id: Ibc16aa1bc3507fb583ac9c68394b1ab9b2ba7af4
2023-09-26 05:34:34 -04:00
Jatin Chaudhary c340f47ac1 SWDEV-411064 - fix device mem size to accurately match memory size from same device
Change-Id: I9caee84c58312053a7b387c8516b386d53c2197f
2023-09-21 14:03:02 -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 86b522692c SWDEV-403766 - Pass exclusive flag. (#337)
Change-Id: I83da5356b5874c3c4dc1f0e08d899079d5cfe385
2023-06-28 21:47:19 +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 15c91808cc EXSWHTEC-224 - Test cases ID clean up and documentation for Device Memory Access (#88)
- Test cases ID clean up and documentation for Device Memory Access
- Added group for deprecated Context Management
2023-06-28 09:47:04 +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 5f4af7cde4 SWDEV-393637 - Standardize the way to implement wait mechanism (#316)
Change-Id: I59027667806878191f9c641f27ce47e6f85ba40c
2023-06-21 21:27:36 +05:30
Maneesh Gupta efc742a900 SWDEV-397358 - Fix hipDeviceSetCacheConfig & hipDeviceSetSharedMemConfig tests (#312) 2023-06-21 16:00:42 +05:30