- Tidy up hipGraphAddKernelNode tests
- Tidy up hipGraphKernelNodeGetParams tests
- Tidy up hipGraphKernelNodeSetParams tests
- Tidy up hipGraphExecKernelNodeSetParams tests.
- Disable failing test sections on AMD.
[ROCm/hip-tests commit: e710eeea8d]
- Customized Doxygen configuration named DoxyfileTests is added, as well as separate header file used for definition of test groups.
- Add support for TEMPLATE_TEST_CASE preprocessing
- Extend the PREDEFINED list to define all macro names to include #if and #ifdef sections in documentation
[ROCm/hip-tests commit: 4dc52105c0]
- Implement negative tests for hipGetSymbolAddress
- Implement negative tests for hipGetSymbolSize
- Reimplement positive test for both apis
- Expand positive test with memcpy to and from symbol
- Disable test sections that cause a segfault in CUDA
[ROCm/hip-tests commit: bcdb3a7ece]
Add unit test: Unit_hipGraphKernelNodeGetSetParams_Functional
Add kernel node to graph with certain kernel params, now get kernel node parameters with hipGraphKernelNodeGetParams, then update the kernel node params with hipGraphKernelNodeSetParams, finally check taking effect after launching graph.
Change-Id: I2216f72f4dade6dd37663d3b0d821cb3d35d7856
[ROCm/hip-tests commit: 84bab79f1a]
- 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]
* SWDEV-327563 - skip Unit_hipStreamSynchronize_NullStreamAndStreamPerThread.
Since the StreamPerThread is still not fixed
* SWDEV-327563 - skip graph and spt failing tests
[ROCm/hip-tests commit: 5ac8da9a09]
- 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]
- Negative parameter tests
- Default return value test
- Multithreaded test
- Adjust hipDeviceSetGetSharedMemConfig tests according to new return value.
[ROCm/hip-tests commit: 03f847847e]
- Verify that unique handles are returned for consecutive calls
- Verify that unique handles are returned for separate allocations at same address
- Verify that freed memory causes an error
- Verify that out of bounds pointer will cause an error.
- Remove linux guard from test file and exclude test from windows build with cmake.
- Fix expected error in hipIpcGetMemHandle negative tests.
[ROCm/hip-tests commit: dca25f3ba4]
Issue NMAKE : fatal error U1065: invalid option 'w'
Solution -
Windows to use Ninja but cmake needs to skip compiler test
Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c
[ROCm/hip-tests commit: 652d142b86]
- 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]
- 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]
- Validate that hipGetDeviceFlags returns flags with which the current context was created.
- Disable Unit_hipGetDeviceFlags_Positive_Context on AMD
[ROCm/hip-tests commit: a6bbefbd95]
- Implemented P2P Device Access positive and negative tests for the following functions:
- hipDeviceCanAccessPeer
- hipDeviceEnablePeerAccess
- hipDeviceDisablePeerAccess
- Expand P2P Device Access negative tests
- Add hipDeviceEnablePeerAccess negative test when flag is invalid and access is already enabled
- Add hipDeviceDisablePeerAccess negative test when access is not enabled and when it is disabled twice
[ROCm/hip-tests commit: 79162275d9]