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

88 Коммитов

Автор SHA1 Сообщение Дата
ROCm CI Service Account 07ed458d3a SWDEV-373231 - Disable as __builtin_amdgcn_flat_atomic_fmax_f64 and __gfx90a__ are not getting resolved properly with hipRTTC generated header. (#110)
Change-Id: I552706d874f1629de978891a4950c8deec3e2ac0
2023-01-09 16:49:21 -08:00
Maneesh Gupta 829dc229b5 Disable complex hipGraphDestroyNode tests (#111)
Disable:
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep_ClonedGrph
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep_ChldNode
2023-01-09 17:30:31 +05:30
arjun-raj-kuppala b177875344 Create jenkinsfile (#3) 2022-12-14 17:28:10 +05:30
Mirza Halilčević 65ba7da607 EXSWHTEC-3 - Implement tests for hipDeviceReset (#2873)
* Implement tests for hipDeviceReset

- Basic test for behaviour validation
- Multithreaded test similar to basic test.

* Update license boilerplate.

Signed-off-by: Dino Music <dino.music@htecgroup.com>

* EXSWHTEC-3 - Add stream and memory checks to hipDeviceReset tests.

* EXSWHTEC-3 - Corrected expected error code for hipStreamDestroy

* EXSWHTEC-3 - Corrected check ordering in
Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Exclude hipDeviceSetGetCacheConfig checks for AMD

* EXSWHTEC-3 - Corrected merge error in device/CMakeLists.txt

* EXSWHTEC-3 - Remove NVIDIA guards from tests and relax the code.

* EXSWHTEC-3 - Update tests to take into account unsupported operations on AMD

* EXSWHTEC-3 - Fix bug in Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Disable hipDeviceReset tests for AMD.
2022-11-30 20:37:20 -08:00
ROCm CI Service Account d20ab63be1 SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46
2022-11-28 20:17:09 +05:30
ROCm CI Service Account ac246706a7 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamBeginCapture() API (#3094)
Change-Id: I7b89dcb6aa24eae0daf2974733ddeb6d3902cafa
2022-11-28 14:04:25 +05:30
Maneesh Gupta 0ee0d72589 Disable Unit_hipMemset_Negative_OutOfBoundsPtr 2022-11-23 15:06:16 +05:30
agunashe fcaa8d7db8 SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags (#3091)
* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags

* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_MultipleRun
2022-11-21 22:11:08 -08:00
nives-vukovic 90417c23d1 EXSWHTEC-64 - Implement tests for hipInit and hipDriverGetVersion (#2971)
- Add simple positive and negative test for hipInit api
- Add simple positive and negative test for hipDriverGetVersion api
- Disable hipInit negative test on AMD
2022-11-14 15:05:14 +05:30
agunashe 5ac8da9a09 SWDEV-327563 - skip graph and spt failing tests (#3068)
* SWDEV-327563 - skip Unit_hipStreamSynchronize_NullStreamAndStreamPerThread.

Since the StreamPerThread is still not fixed

* SWDEV-327563 - skip graph and spt failing tests
2022-11-13 22:57:11 -08:00
Mirza Halilčević f9aceabe26 EXSWHTEC-10 - Implement additional tests for hipIpcOpenMemHandle (#2880)
- Verify that opening the same handle in different contexts on same device causes an error
- Verify that opening the handle in the process that created it causes an error
- Remove linux guard from test file and exclude test from windows build with cmake.
- Disable Unit_hipIpcOpenMemHandle_Negative_Open_In_Creating_Process for AMD.
2022-11-07 16:50:44 +05:30
ROCm CI Service Account 814f0cc15c SWDEV-327563 - Windows Enable fixed tests v5 (#3059)
Change-Id: Ie144e481f38b3e5d462f64d76ab4fd32043f2b46
2022-11-07 15:36:09 +05:30
Mirza Halilčević 03f847847e EXSWHTEC-27 - Implement tests for hipDeviceSetSharedMemConfig and hipDeviceGetSharedMemConfig (#2920)
- Negative parameter tests
- Default return value test
- Multithreaded test
- Adjust hipDeviceSetGetSharedMemConfig tests according to new return value.
2022-11-07 14:01:36 +05:30
nives-vukovic d7fafa8696 EXSWHTEC-65 - Implement additional Initialization and Version tests (#2972)
- Separate hipRuntimeGetVersion and hipDeviceGetUuid tests into positive and negative tests
 - Split Unit_hipDeviceGetUuid into Unit_hipDeviceGetUuid_Positive and Unit_hipDeviceGetUuid_Negative
 - Split Unit_hipRuntimeGetVersion_NegAndValTst into Unit_hipRuntimeGetVersion_Positive and Unit_hipRuntimeGetVersion_Negative
- Modify tests to use hipDevice_t instead of integer for devices in hipDeviceGetUuid negative test
- Implement additional Initialization and Version tests
 - Expand hipDeviceComputeCapability negative test with case when device is invalid
 - Expand hipDeviceGetP2PAttribute negative test with case when src and dst devices are the same
 - Expand hipDeviceGetP2PAttribute negative test with case when device is out of bound
 - Modify hipDeviceTotalMem negative test with case when device is invalid
 - Implement Unit_hipDeviceGetPCIBusId_PartialFill test which validates partial filling the bus id into a char array
- Fix minor formatting issues and change hipDeviceGetPCIBusId partial fill test into negative
- Modify negative tests to use integer device values
- Disable hipDeviceGetPCIBusId negative test on AMD
2022-11-04 19:29:26 +05:30
Mirza Halilčević 86fa9725c4 EXSWHTEC-9 - Implement additional tests for hipIpcCloseMemHandle (#2881)
- Verify that memory stays mapped when reference count is non zero
- Verify that memory stays mapped if handle is closed in a second process
- Verify that attempting to close handle in the process that created it causes an error
- Correct header includes.
- Add additional pointer check to reference counting test.
- Disable Unit_hipIpcCloseMemHandle_Negative_Close_In_Originating_Process test for AMD.
2022-11-04 19:26:53 +05:30
Mirza Halilčević a6bbefbd95 EXSWHTEC-8 - Implement additional test for hipGetDeviceFlags (#2877)
- Validate that hipGetDeviceFlags returns flags with which the current context was created.
- Disable Unit_hipGetDeviceFlags_Positive_Context on AMD
2022-11-04 19:24:58 +05:30
Mirza Halilčević 77da7331c1 EXSWHTEC-26 - Implement tests for hipDeviceSetCacheConfig and hipDeviceGetCacheConfig (#2919)
- Negative parameter tests
- Default return value test
- Multithreaded test
- Reorder tests and generate test cases for all available devices in certain tests.
- Add checks for hipDeviceSetCacheConfig not being supported on AMD.
- Remove NVIDIA guards from tests and disable tests on AMD platform.
2022-11-03 08:02:25 +05:30
ROCm CI Service Account eceb699ddb SWDEV-347670 - Enable GPU StreamWrite and StreamWait tests on Windows (#3031)
This patch skips Unit_hipStreamValue_*_Blocking test cases because of a soft hang
Stream write and stream wait passing tests can be enabled in the device
attribute.

Unit_hipStreamValue_*_Blocking tests will be enabled when the hang is fixed

Change-Id: Ieea831162208c4ec172b35a0421c66f6b1a21ed7
2022-10-31 22:08:38 -07:00
ROCm CI Service Account 0e463ad3be SWDEV-327563 - Enable fixed Windows tests v4 (#2989)
Change-Id: Ifa85eea8356d332f555f54516cde9c922c63f6af
2022-10-13 14:01:13 -07:00
agunashe 5dc822afcd SWDEV-327563 - skip tests for windows (#2977)
* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithPendingWork
Unit_hipStreamWaitEvent_DifferentStreams

* SWDEV-327563 - skip tests for windows

leading spaces

* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithFinishedWork
2022-10-06 09:53:38 -07:00
ROCm CI Service Account 609edf1c9e SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemcpyNodeSetParamsToSymbol API (#2813)
Change-Id: I486030661324f3fa4d6f6241882f4cd839211511
2022-09-27 13:34:31 +05:30
ROCm CI Service Account d55c94b77e SWDEV-306122 - [catch2][dtest] Tests for hipGraphExecChildGraphNodeSetParams API (#2948)
Added Negative and functional tests for hipGraphExecChildGraphNodeSetParams API

Change-Id: Ibe3ab74bc783a90daec153a8c74f039a2f977a71
2022-09-23 12:36:45 +05:30
ROCm CI Service Account c67c3f928b SWDEV-306122 - [catch2][dtest] Tests for hipGraphHostNodeGetParams API (#2949)
Added Negative and functional tests for hipGraphHostNodeGetParams API.

Change-Id: Ic9e841875673c10cea9a47f98cd47ff4995f888a
2022-09-23 12:35:27 +05:30
ROCm CI Service Account e8eb0f375f SWDEV-327563 - Enable fixed tests linux and windows v3 (#2943)
Change-Id: Ia5c47821268d7f31b70c473ef2a4785b6735a2f1
2022-09-21 11:59:06 -07:00
ROCm CI Service Account 2b6a2d84fc SWDEV-346579 - MI2xx skip build/execution hipArrayCreate.cc/hipMallocArray.cc (#2917)
Change-Id: I3a39d541e8ac8b565cccc1b08403e0110edc471d
2022-09-07 13:10:20 -07:00
agunashe 9e4d0c1f38 SWDEV-327563 - skip intermittent tests (#2909)
Unit_hipStreamCreateWithPriority_ValidateWithEvents
Unit_hipStreamPerThread_StrmWaitEvt
2022-08-29 17:24:00 -07:00
agunashe 1e18a00dfd SWDEV-327563 - skip intermittent staging build failures (#2865) 2022-08-22 10:06:23 -07:00
agunashe 77307513ae SWDEV-344154 - infrastructure to skip tests for different archs (#2850)
Change-Id: Id3bda440c4cd920ce18c14d06e2f2c6ab6346de3
2022-08-17 17:10:52 -07:00
Maneesh Gupta 9e29f41a1b Win: failing sub-tests need to be disabled explicitly 2022-08-04 13:23:39 +05:30
Maneesh Gupta 91bd07c76a Win: Disable failing hipFree tests 2022-08-04 12:24:17 +05:30
Maneesh Gupta 00596ef7a6 Fix typo in config_amd_windows.json 2022-08-03 07:57:33 +05:30
agunashe be9ccad135 SWDEV-327563 - Win: Disable failing hipMemGetInfo tests (#2836) 2022-08-01 14:41:20 -07:00
ROCm CI Service Account 258a7727b0 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59
2022-07-26 15:09:35 +05:30
ROCm CI Service Account 095355fe93 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0
2022-07-26 15:08:04 +05:30
ROCm CI Service Account 6c17b7f77e SWDEV-344691 - hipMalloc3DArray fails if width is more than capacity. (#2819)
Change-Id: I3eeaa9ef2b3197b3e5c5f03ccc1ba069dfb64fb7
2022-07-26 12:14:26 +05:30
ROCm CI Service Account bc9d0e6661 SWDEV-327563 - Enable fixed tests linux and windows v2 (#2822)
Change-Id: I094b5c8bda458917a074af9b8638074362c1aa56
2022-07-26 11:47:03 +05:30
ROCm CI Service Account 4e1d167d53 SWDEV-306122 - [catch2][dtest] hipGraphExecMemcpyNodeSetParamsToSymbol API (#2824)
Change-Id: I3f533b88f9fadcb17bde6577212cf1561fa49273

Co-authored-by: mbhiutra <meher.bhiutras@amd.com>
2022-07-26 10:47:49 +05:30
ROCm CI Service Account 6da4973612 SWDEV-340649 - Disables memory oversubscription test case (#2810)
Change-Id: I5597995c097b35564298d7ea8200ef2d89dcfa0f
2022-07-19 19:32:06 +05:30
ROCm CI Service Account f4d9c38f1f SWDEV-306122 - [catch2][dtest] hipGraphMemcpyNodeSetParams1D added Functional and Negative test scenario (#2808)
Change-Id: If54fd56ae345ca4a13791bc376b3b72ce5e312b6
2022-07-19 19:30:42 +05:30
ROCm CI Service Account 1458912363 SWDEV-327563 - Enable fixed tests linux and windows (#2803)
Change-Id: Icad90d01f796a8a8cf57884b86ca1a5a2b50ec64
2022-07-19 19:28:17 +05:30
ROCm CI Service Account e3ee2626f4 SWDEV-306122 - [catch2][dtest] API hipGraphKernelNodeGetParams, hipGraphKernelNodeSetParams, hipGraphExecKernelNodeSetParams. (#2802)
Change-Id: Ie5eb8949f589ac7ac5eb0f02e99f2012d9c0b926
2022-07-19 19:27:29 +05:30
Maneesh Gupta 8c5c2991ba Disable Unit_hipMemVmm_Basic on windows for now 2022-07-14 11:25:25 +05:30
agunashe 844cff8d6b SWDEV-327563 - Win,Linx: Disable failing tests (#2796)
Develop to staging
2022-07-12 10:08:45 -07:00
Maneesh Gupta 837a587da8 Disable newly added failing tests (#2790)
* Update hipHostUnregister.cc
- Disable Unit_hipHostUnregister_NotRegisteredPointer
- Disable Unit_hipHostUnregister_AlreadyUnregisteredPointer

* Update hipMallocPitch.cc
- Disable Unit_hipMallocPitch_ValidatePitch
- Disable failing sections of Unit_hipMalloc3D_Negative
- Disable failing sections of Unit_hipMallocPitch_Negative
- Disable failing sections of Unit_hipMemAllocPitch_Negative

* Update config_amd_windows.json
- Disabled Unit_hipMalloc3D_ValidatePitch
- Disabled Unit_hipArrayCreate_happy
2022-07-08 17:49:53 +05:30
ROCm CI Service Account 32ee6dc764 SWDEV-306122 - [catch2][dtest] Added tests for hipGraphMemcpyNodeGetParams/hipGraphMemcpyNodeSetParams API. (#2775)
Change-Id: Ie0e323a545c3bac17a35814a90b93ecd44cec537
2022-07-08 15:19:02 +05:30
ROCm CI Service Account 23182d1d44 SWDEV-327563 - Windows: Enable skipped tests (#2773)
Change-Id: I091ca7e98dc6339853f955725c9cf3b485b2e44d
2022-06-28 10:06:30 -07:00
Fábio a0296bd614 EXSWCPHIPT-42: Changes to HIP RTC Framework implementation (#2732)
- Removed ifdef from hipTestContext class
- Fix potential race condition in hipTest::launchRTCKernel()
- Improve documentation
- Move moduleUnloading to main() instead of explicitly calling it on every test
- Fix code formating
- Fix segmentation fault caused by using catch2 macro after catch2 is destroyed
2022-06-28 09:00:37 +05:30
ROCm CI Service Account dc58768ddd SWDEV-306122 - [catch2][dtest] hipGraphMemcpyNodeSetParamsFromSymbol API (#2762)
Change-Id: I88e5a808ca8441dc3dc745d8575d22973b7ac9d2
2022-06-23 17:40:50 -07:00
ROCm CI Service Account 95da4e27aa SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphExecEventWaitNodeSetEvent() API. (#2763)
- Functional Test
- Negative Tests

Change-Id: I80ba185c4892162e68945f82b3c1cc9ffd9c105c
2022-06-22 15:33:09 -07:00
Jatin Chaudhary 4820aa0dd4 Add HIP_CHECK_THREAD and REQUIRE_THREAD macro for multi threaded HIP API tests (#2664) 2022-06-20 15:07:13 +05:30