HSA_PATH is not required in hipcc and removed from hipvars and hipcc.pl as part of SWDEV-345870.
The incomplete removal is causing build failure in pytorch due to invalid hip version
Removing HSA_PATH from hipconfig.pl, so that hipconfig will provide the hip version without any warning
Depends-On: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
Change-Id: I8f18b27f40f4080b68a936450ba6e092f997ec47
[ROCm/hip commit: e1bbdf5750]
- 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]
hip-clang can handle hip offload-bundles now, so no need to extract them separately in archives (.a) or object files (.o)
Change-Id: I764243c172a4912d64dbfb318470bf36e066756d
[ROCm/hip commit: 165843e94b]
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]
With file reorganization, HIP installed in /opt/rocm-ver
Use the install path rather than using backward compatible path.
HSA_PATH is not at all required in hipcc and removed the same
Change-Id: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
[ROCm/hip commit: 388432384f]
- 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]