Added HIP_INIT_API to hipDeviceSynchronize()

Change-Id: I9bd6bf206905621b17e1999994b5ea09b7382180
Este commit está contenido en:
Rahul Garg
2016-09-01 11:00:30 +05:30
padre 6a6a0ae32f
commit deb2638397
+1
Ver fichero
@@ -160,6 +160,7 @@ hipError_t hipSetDevice(int deviceId)
*/
hipError_t hipDeviceSynchronize(void)
{
HIP_INIT_API(1);
return ihipSynchronize();
}