Added HIP_INIT_API to hipDeviceSynchronize()
Change-Id: I9bd6bf206905621b17e1999994b5ea09b7382180
[ROCm/hip commit: deb2638397]
This commit is contained in:
@@ -160,6 +160,7 @@ hipError_t hipSetDevice(int deviceId)
|
||||
*/
|
||||
hipError_t hipDeviceSynchronize(void)
|
||||
{
|
||||
HIP_INIT_API(1);
|
||||
return ihipSynchronize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user