Added HIP_INIT_API to hipDeviceSynchronize()

Change-Id: I9bd6bf206905621b17e1999994b5ea09b7382180
This commit is contained in:
Rahul Garg
2016-09-01 11:00:30 +05:30
parent 6a6a0ae32f
commit deb2638397
+1
Vedi File
@@ -160,6 +160,7 @@ hipError_t hipSetDevice(int deviceId)
*/
hipError_t hipDeviceSynchronize(void)
{
HIP_INIT_API(1);
return ihipSynchronize();
}