add hipStreamWaitEvent on nvcc

This commit is contained in:
Ben Sander
2016-09-01 13:28:27 -05:00
parent 4ed2035dd2
commit af2dee92ab
@@ -484,6 +484,12 @@ inline static hipError_t hipStreamDestroy(hipStream_t stream)
}
inline static hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int flags)
{
return hipCUDAErrorTohipError(cudaStreamWaitEvent(stream, event, flags));
}
inline static hipError_t hipDriverGetVersion(int *driverVersion)
{
cudaError_t err = cudaDriverGetVersion(driverVersion);