- gfx908 and gfx908:sramecc+:xnack- together cannot be passed as --offload-arch to hipcc
- Strip features from gcnArchName before passing to hipcc
[ROCm/hip commit: 7a7eeec685]
- 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
[ROCm/hip commit: 7aa4cd6862]
- 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
[ROCm/hip commit: dcb234c01f]
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
[ROCm/hip commit: 856d4b5075]
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
[ROCm/hip commit: 930469a176]
- 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
[ROCm/hip commit: a388eb1e6f]
- 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 commit: 1f774ad632]
hip_bfloat16 header in hip repo just includes the amd_hip_bfloat16 from hipamd
Change-Id: Ie96f908009cf96f37d868f2cd9a97d5f3e8b0ade
[ROCm/hip commit: da6d35142b]
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 commit: 58790104f2]
- 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 commit: 1f06f33d7d]
* SWDEV-327563 - skip Unit_hipStreamSynchronize_NullStreamAndStreamPerThread.
Since the StreamPerThread is still not fixed
* SWDEV-327563 - skip graph and spt failing tests
[ROCm/hip commit: ae8f2d3557]
- 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 commit: 809149ecc8]
- Negative parameter tests
- Default return value test
- Multithreaded test
- Adjust hipDeviceSetGetSharedMemConfig tests according to new return value.
[ROCm/hip commit: cd4a634935]
- 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 commit: c504292c54]
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 commit: a47e8ac84f]
- 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 commit: 10382f7f58]
- 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 commit: dc5d658843]
- Validate that hipGetDeviceFlags returns flags with which the current context was created.
- Disable Unit_hipGetDeviceFlags_Positive_Context on AMD
[ROCm/hip commit: 7a3fecab50]