Commit Graph

21 Commits

Author SHA1 Message Date
Maneesh Gupta 4d354c8778 Update config_amd_linux_common.json
[ROCm/hip-tests commit: a25ea2ca40]
2023-03-08 12:22:28 +05:30
Maneesh Gupta 77e8b8ab0d Disable newly added failing tests
[ROCm/hip-tests commit: ac37f017e6]
2023-03-07 09:50:36 +05:30
music-dino f80f85f252 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

[ROCm/hip-tests commit: 77a37371b0]
2023-03-06 13:43:45 +05:30
music-dino c26ed2c1ea 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

[ROCm/hip-tests commit: f1151e3c6d]
2023-03-06 09:00:35 +05:30
milos-mozetic e622569dc7 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.

[ROCm/hip-tests commit: 72e6432739]
2023-03-06 08:58:26 +05:30
music-dino 1d3ac7d1a5 EXSWHTEC-83 - Implement new and reimplement existing tests for hipMemAdvise (#16)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: cc0302dda3]
2023-02-01 11:50:14 +05:30
agunashe 97e4f0b084 SWDEV-327563 - Disable Unit_hipGraphRetainUserObject_Functional_2 test. (#149)
Intermittent issue: corrupted doubly linked list

[ROCm/hip-tests commit: 6b48c2f919]
2023-02-01 10:48:11 +05:30
Rahul Garg 8f2056ad3f Temporarily disable failing tests (#136)
Unit_hipStreamGetCaptureInfo_Nullstream_CaptureInfo
Unit_hipGraphAddMemcpyNode1D_Negative_Basic

[ROCm/hip-tests commit: c03de3547b]
2023-01-23 16:42:43 -08:00
Maneesh Gupta ad30b95b31 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

[ROCm/hip-tests commit: 315b14fe4e]
2023-01-23 10:47:56 +05:30
nives-vukovic 85f21808ec 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

[ROCm/hip-tests commit: 647908ccb7]
2023-01-17 17:26:45 +05:30
Maneesh Gupta 9ceef1fdc7 Disable complex hipGraphDestroyNode tests (#111)
Disable:
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep_ClonedGrph
- Unit_hipGraphDestroyNode_Complx_ChkNumOfNodesNDep_ChldNode

[ROCm/hip-tests commit: 829dc229b5]
2023-01-09 17:30:31 +05:30
Mirza Halilčević 1ebac1664e 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.


[ROCm/hip-tests commit: 65ba7da607]
2022-11-30 20:37:20 -08:00
Maneesh Gupta 2f57706a8a Disable Unit_hipMemset_Negative_OutOfBoundsPtr
[ROCm/hip-tests commit: 0ee0d72589]
2022-11-23 15:06:16 +05:30
nives-vukovic 29f3e73eb4 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

[ROCm/hip-tests commit: 90417c23d1]
2022-11-14 15:05:14 +05:30
Mirza Halilčević 3b31bcc00d 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.

[ROCm/hip-tests commit: f9aceabe26]
2022-11-07 16:50:44 +05:30
Mirza Halilčević a96efc3b66 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.

[ROCm/hip-tests commit: 03f847847e]
2022-11-07 14:01:36 +05:30
nives-vukovic fcdbcd743a 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

[ROCm/hip-tests commit: d7fafa8696]
2022-11-04 19:29:26 +05:30
Mirza Halilčević 47050658dc 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.

[ROCm/hip-tests commit: 86fa9725c4]
2022-11-04 19:26:53 +05:30
Mirza Halilčević 03e871aea5 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

[ROCm/hip-tests commit: a6bbefbd95]
2022-11-04 19:24:58 +05:30
Mirza Halilčević 39259e08fb 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.

[ROCm/hip-tests commit: 77da7331c1]
2022-11-03 08:02:25 +05:30
agunashe 90a98d2813 SWDEV-344154 - infrastructure to skip tests for different archs (#2850)
Change-Id: Id3bda440c4cd920ce18c14d06e2f2c6ab6346de3

[ROCm/hip-tests commit: 77307513ae]
2022-08-17 17:10:52 -07:00