add hipStreamQuery on nvcc, fix hipStreamWaitEvent for nvcc

このコミットが含まれているのは:
Ben Sander committed 2016-09-02 17:26:16 -05:00
1 親 7062586103
コミット 9466ab4fca
2ファイル変更
+6

検索条件に一致するファイルはありません

+5
ファイルの表示
@@ -489,6 +489,11 @@ inline static hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event
return hipCUDAErrorTohipError(cudaStreamWaitEvent(stream, event, flags));
}
inline static hipError_t hipStreamQuery(hipStream_t stream)
{
return hipCUDAErrorTohipError(cudaStreamQuery(stream));
}
inline static hipError_t hipDriverGetVersion(int *driverVersion)
{