diff --git a/projects/hip/src/hip_device.cpp b/projects/hip/src/hip_device.cpp index d31e3b5890..14338c11de 100644 --- a/projects/hip/src/hip_device.cpp +++ b/projects/hip/src/hip_device.cpp @@ -160,6 +160,7 @@ hipError_t hipSetDevice(int deviceId) */ hipError_t hipDeviceSynchronize(void) { + HIP_INIT_API(1); return ihipSynchronize(); }