P4 to Git Change 1550526 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/04 15:00:44

SWDEV-145570 - [HIP] Missing HIP_INIT_API macro in hipDeviceSynchronize.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#9 edit


[ROCm/clr commit: 05b48c7450]
This commit is contained in:
foreman
2018-05-04 15:12:48 -04:00
parent 5ab0c5758c
commit 46dc10bdd8
@@ -375,6 +375,8 @@ hipError_t hipDeviceSetSharedMemConfig ( hipSharedMemConfig config ) {
}
hipError_t hipDeviceSynchronize ( void ) {
HIP_INIT_API();
amd::HostQueue* queue = hip::getNullStream();
if (!queue) {