Added HIP_INIT_API to hipDeviceSynchronize()

Change-Id: I9bd6bf206905621b17e1999994b5ea09b7382180
Cette révision appartient à :
Rahul Garg
2016-09-01 11:00:30 +05:30
Parent 6cd10125e9
révision a949060b12
+1
Voir le fichier
@@ -160,6 +160,7 @@ hipError_t hipSetDevice(int deviceId)
*/
hipError_t hipDeviceSynchronize(void)
{
HIP_INIT_API(1);
return ihipSynchronize();
}