Added support for hipCtxSynchronize and hipCtxGetFlags,modified hipDeviceSynchronize

Change-Id: If7bac667a262fa8c0cb3dc93e97f2534855acd07
Этот коммит содержится в:
Rahul Garg
2016-08-22 16:15:27 +05:30
родитель 4b5b15a8e5
Коммит a498753041
5 изменённых файлов: 29 добавлений и 6 удалений
+1 -5
Просмотреть файл
@@ -160,11 +160,7 @@ hipError_t hipSetDevice(int deviceId)
*/
hipError_t hipDeviceSynchronize(void)
{
HIP_INIT_API();
ihipGetTlsDefaultCtx()->locked_waitAllStreams(); // ignores non-blocking streams, this waits for all activity to finish.
return ihipLogStatus(hipSuccess);
return ihipSynchronize();
}