Commit Graph

123 Commits

Author SHA1 Message Date
ROCm CI Service Account f4feab33bc SWDEV-388958 - Enable Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Positive_Basic (#300)
Change-Id: I05937863e6ebbc991ff421c8b013140149c12c00
2023-06-19 22:11:43 -07:00
ROCm CI Service Account ca6882f031 SWDEV-388943 - Enable Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Positive_Basic (#310)
Change-Id: I7aabc2530b2cf05459e79edd41d73d6d0ec5f7d1
2023-06-19 22:10:21 -07:00
ROCm CI Service Account f1dd16074b SWDEV-403762 - Enable Unit_hipDeviceGetPCIBusId_Negative_PartialFill. (#302)
Change-Id: I29d3bbc49a83191419e12cd08be755f53d63f1b0
2023-06-19 09:39:03 -07:00
ROCm CI Service Account 7a4ee317e9 SWDEV-388922 - SWDEV-388942 - Enabled Unit_hipGraphMemsetNodeSetParams_Positive_Basic and Unit_hipGraphExecMemsetNodeSetParams_Positive_Basic tests. (#303)
Change-Id: I8791270eccf1140bc757d8a9f4a1a0d7dd533125
2023-06-19 09:38:29 -07:00
ROCm CI Service Account 042d27a5f8 SWDEV-391999 - Enable Unit_hipMemset_Negative_OutOfBoundsPtr (#306)
Change-Id: I7f5ffaff7ff7f62d300610cd348df441fed701ea
2023-06-19 09:37:56 -07:00
ROCm CI Service Account bd4e547350 SWDEV-388927 - Enable Unit_hipGraphExecMemsetNodeSetParams_Negative_Updating_Non1D_Node. (#307)
Change-Id: I5f16c81604bdcc8b5bb88486358ac22fce67cf83
2023-06-19 09:37:05 -07:00
ROCm CI Service Account 0577c019f9 SWDEV-402082 - Disable Unit_hipGraphInstantiateWithFlags_FlagAutoFreeOnLaunch_check due to PAL Backend issue (SWDEV-391554) (#281)
Change-Id: I1c06c018741eea9d270a8ca60d5a69114b71c840
2023-06-15 18:27:32 -07:00
Maneesh Gupta eeeca04107 Update config_amd_windows_common.json
Disable hipDeviceSetCacheConfig & hipDeviceSetSharedMemConfig tests temporarily
2023-06-01 14:09:22 +05:30
Maneesh Gupta 0c842b6210 Update config_amd_linux_common.json
Disable hipDeviceSetCacheConfig & hipDeviceSetSharedMemConfig tests temporarily
2023-05-29 14:27:51 +05:30
agunashe 3cc4f0c451 SWDEV-398971 - disable Unit_hipStreamCreateWithPriority_MulthreadDefaultflag (#272) 2023-05-23 16:17:55 -07:00
agunashe df17c9344c SWDEV-398971 - disable multiple tests failing in stress tests (#255)
* SWDEV-398971 - disable Unit_HMM_OverSubscriptionTst

Unit_HMM_OverSubscriptionTst fails in stress test Navi21(sGPU)  + Ub 22.04

* SWDEV-398971 - skipping mulitple tests
2023-05-08 20:52:49 -07:00
shadidashmiz b5d2ea28e1 SWDEV-391555 - disable failing tests (#252)
* SWDEV-391555 - disable failing tests
Change-Id: I6ded26927720b77938022f37acf7513a7fc2575b
* SWDEV-391555 - disable more failing tests
2023-05-01 09:59:45 -07:00
jtpatel b52e7868b0 SWDEV-396088 - Disable Unit_hipMemcpy2DToArrayAsync_Positive_Synchronization_Behavior. (#251) 2023-04-26 14:05:46 -07:00
agunashe 8c76b1848c SWDEV-1 - skip multiple tests on Windows (#242)
Unit_hipEventElapsedTime_NotReady_Negative
Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Negative_Parameters
Unit_hipMemVmm_Basic
Unit_hipManagedKeyword_MultiGpu
2023-04-24 16:03:48 -07:00
agunashe 1cd686bed6 SWDEV-395683 - skipping Unit_hipStreamPerThread_MultiThread (#240) 2023-04-19 13:27:50 -07:00
agunashe e3c5126b72 SWDEV-394199 - disable Unit_hipStreamCreateWithPriority_MulthreadNonb… (#237)
* SWDEV-394199 - disable Unit_hipStreamCreateWithPriority_MulthreadNonblockingflag

* SWDEV-394199 - disabling same test on linux

Unit_hipStreamCreateWithPriority_MulthreadNonblockingflag on linux too
2023-04-17 13:44:43 -07:00
Rahul Garg 87a4d9edb8 SWDEV-393637 - Temporally disable failing tests (#236) 2023-04-12 11:52:55 -07:00
Rahul Garg 0d9d5b5650 SWDEV-391037 - Temporarily disable Unit_hipDeviceGetUuid_Positive for Windows (#218)
Change-Id: If9679a544b2cf289f84a5f1a39dc5fedf68053ee
2023-03-27 18:56:32 -07:00
agunashe 3cfcceaca1 SWDEV-326798 - Disabling tests to allow hipamd PR 819248 (#205) 2023-03-27 12:35:47 -07:00
ROCm CI Service Account 3e9ed7d97e SWDEV-362372 - Disable test. (#206)
Change-Id: I09828d2f2929cd10d85495f84858f862c75c09a9
2023-03-20 13:17:35 -07:00
ROCm CI Service Account 8c7e64b0f6 SWDEV-362365 - Disable test. (#207)
Change-Id: I589043973faf65222f07d9278a0631d67c25cb97
2023-03-17 14:57:34 -07:00
ROCm CI Service Account cef4ed8196 SWDEV-357797 - enabling devicelib tests on Windows (#148)
Change-Id: Ic60e2f77fd2dcba0e0e00a58e1a22a1f28fede5c
2023-03-14 16:27:52 -07:00
Maneesh Gupta a25ea2ca40 Update config_amd_linux_common.json 2023-03-08 12:22:28 +05:30
Maneesh Gupta ac37f017e6 Disable newly added failing tests 2023-03-07 09:50:36 +05:30
music-dino 77a37371b0 EXSWHTEC-193 - Implement new and update existing tests for the hipGraph*MemsetNode family of APIs (#12)
- Implement positive and negative tests for hipGraphAddMemsetNode
- Implement positive and negative tests for hipGraphMemsetNodeSetParams
- Implement positive and negative tests for hipGraphExecMemsetNodeSetParams
- Implement negative tests for hipGraphMemsetNodeGetParams
- Add doxygen annotations
- Add a dynamic section in positive test for memset for different dimensions
2023-03-06 13:43:45 +05:30
nives-vukovic 4580864fa1 EXSWHTEC-145 - Implement tests for Stream Capture APIs (#11)
Implement tests for hipStreamUpdateCaptureDependencies, hipThreadExchangeStreamCaptureMode and hipLaunchHostFunc
- Refactor existing tests by including more catch2 features
- Reduce code line numbers by using helper guard classes
- Add some positive and negative tests
- Add doxygen test descriptions
2023-03-06 13:41:54 +05:30
music-dino f1151e3c6d EXSWHTEC-192 - Implement new and update existing tests for the hipGraph*MemcpyNode[From|To]Symbol family of APIs (#13)
* EXSWHTEC-192 - Implement new and update existing tests for the hipGraph*MemcpyNode[From|To]Symbol family of APIs
- Generalize from symbol positive test to work for different types
- Implement negative parameter tests
- Extract common code for to/from copy
- Reorganize files
2023-03-06 09:00:35 +05:30
milos-mozetic 72e6432739 EXSWHTEC-174 - Implement unit tests for Callback Activity APIs (#6)
Implemented positive and negative test cases for the following APIs:
        - hipApiName
        - hipKernelNameRef
        - hipKernelNameRefByPtr
        - hipGetStreamDeviceId
Enabled build of Callback tests only for AMD platforms, as there is no support for Nvidia platforms.
2023-03-06 08:58:26 +05:30
ROCm CI Service Account 12fb9350ad SWDEV-360327 - [catch2][dtest] Test cases added for hipLaunchHostFunc API (#170)
Change-Id: I0d92ed0d8e97a2f7b34cc89dd6dcffa2236ee308
2023-03-01 17:31:07 -08:00
Maneesh Gupta 88fbbd666b SWDEV-1 - Fix warnings and update disabled test list (#163)
- Fix warnings in some test cases due to unused variables or signed/unsigned comparison.
- Disabled vulkan tests on MI200.
2023-02-09 18:52:27 +05:30
music-dino cc0302dda3 EXSWHTEC-83 - Implement new and reimplement existing tests for hipMemAdvise (#16)
- Basic positive tests
- Negative parameter tests
2023-02-01 11:50:14 +05:30
agunashe 6b48c2f919 SWDEV-327563 - Disable Unit_hipGraphRetainUserObject_Functional_2 test. (#149)
Intermittent issue: corrupted doubly linked list
2023-02-01 10:48:11 +05:30
Rahul Garg c03de3547b Temporarily disable failing tests (#136)
Unit_hipStreamGetCaptureInfo_Nullstream_CaptureInfo
Unit_hipGraphAddMemcpyNode1D_Negative_Basic
2023-01-23 16:42:43 -08:00
Maneesh Gupta 315b14fe4e SWDEV-1 - Disable newly added failing tests (#132)
Disabled the following tests on Linux:
- Unit_hipMemRangeGetAttribute_Positive_AccessedBy_Basic
- Unit_hipMemRangeGetAttribute_Positive_AccessedBy_Partial_Range
- Unit_hipMemRangeGetAttributes_Negative_Parameters
- Unit_hipStreamAttachMemAsync_Positive_Basic
- Unit_hipStreamAttachMemAsync_Positive_AttachGlobal
- Unit_hipStreamAttachMemAsync_Negative_Parameters
- Unit_hipMemGetAddressRange_Positive
Disabled the following tests on Windows:
- Unit_hipMemGetAddressRange_Positive
2023-01-23 10:47:56 +05:30
nives-vukovic 647908ccb7 EXSWHTEC-72 - Implement hipMemcpyPeer/hipMemcpyPeerAsync and hipMemGetAddressRange tests (#34)
- Reimplement and expand hipMemcpyPeer/hipMemcpyPeerAsync tests using resource guards
- Implement positive and negative test for hipMemGetAddressRange
2023-01-17 17:26:45 +05:30
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