- Use kernel having wall_clock64 for gfx11
- Correct allocated memory size
- Use gpu event for kernel timing in place of std::chrono::system_clock
- Adjust comparison factors to accommodate kernel execution time differences
Change-Id: Ib119e8553a111feaf358693c911e650c1d50633f
- Don't use HIP_PATH for kernel compilation.
- Make the test fail when code object file doesn't get created.
- Disable the test for Nvidia.
Change-Id: I0c78d6c0567aff058cb99fb3696b8d64c9a437ed
failure
- As per spec, hipMemset2D is async with respect to host when target memory is device memory
- Hence need to call hipDeviceSynchronize before changing device
Change-Id: I58e6efc9466233d80b8ba2c58c0c691c68827128
HIP catch tests and samples have been moved to an independent github project hip-tests. Please refer to hip-tests Readme for build instructions!
Change-Id: Ia12fb5159179eb8fcf080c3928bdd539fadced04
- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt
Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4
- 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
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
* SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API
Change-Id: I7fd25bcc23f0629d92296ab7b20258a6e268a58b
- Add simple positive and negative test for hipInit api
- Add simple positive and negative test for hipDriverGetVersion api
- Disable hipInit negative test on AMD
* SWDEV-327563 - skip Unit_hipStreamSynchronize_NullStreamAndStreamPerThread.
Since the StreamPerThread is still not fixed
* SWDEV-327563 - skip graph and spt failing tests
- 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.
- Negative parameter tests
- Default return value test
- Multithreaded test
- Adjust hipDeviceSetGetSharedMemConfig tests according to new return value.
- 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.
Issue NMAKE : fatal error U1065: invalid option 'w'
Solution -
Windows to use Ninja but cmake needs to skip compiler test
Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c
- 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
- 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.