- 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
[ROCm/hip-tests commit: 569b088eb8]
- 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
[ROCm/hip-tests commit: f85b731a5c]
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
[ROCm/hip-tests commit: af3ac29c40]
This reverts commit 81a120a5c5.
Reason for revert: Bring back original change.
Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27
[ROCm/hip-tests commit: cf3df12106]
This reverts commit de3d24df97.
Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt
Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc
[ROCm/hip-tests commit: fe5206e50a]
* 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
[ROCm/hip-tests commit: 34976df246]
- Test cases ID clean up and documentation for Device Memory Access
- Added group for deprecated Context Management
[ROCm/hip-tests commit: 15c91808cc]
- Test cases ID clean up and documentation for Device Management
- Adjust doxygen comments to fix bugs
- Adjust defgroup comments for test modules
[ROCm/hip-tests commit: d0295c4295]
* SWDEV-359379 - catch2: Standalone single exe per file
-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time
Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd
* SWDEV-359379 - Update CMakeList
* Update Catch.cmake
* Temporarily disable failing tests
[ROCm/hip-tests commit: 961245e9f4]
- 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]
- 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]
- 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]
- Test behaviour with valid arguments for both APIs
- Test with invalid parameters.
- Default return value test
- Multithreaded test
- Enable tests for nvidia platform.
[ROCm/hip-tests commit: 44a48a387e]
- 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]
- Test synchronization when no work is enqueued on streams
- Test synchronization on default stream
- Modify tests to run for all devices.
- Remove unnecessary check in Unit_hipDeviceSynchronize_Positive_Empty_Streams test.
[ROCm/hip-tests commit: 29b9a4a0c0]
* Implement printing out of device count to standard output
* Implement printing out of device attributes retrieved by hipDeviceGetAttribute.
* Implement printing of device properties retrieved by hipGetDeviceProperties.
[ROCm/hip-tests commit: 51a22bb085]