added more nvcc event functions

Change-Id: I79ee20ef444d4c1ab6ada3c0d56730ce754ab6b6
This commit is contained in:
Aditya Atluri
2016-06-30 21:03:19 -05:00
rodzic 6a2bbbcb75
commit 36b81c1be6
@@ -464,6 +464,15 @@ inline static hipError_t hipSetDeviceFlags (unsigned int flags)
return hipCUDAErrorTohipError(cudaSetDeviceFlags( flags ));
}
inline static hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned int flags)
{
return hipCUDAErrorTohipError(cudaEventCreateWithFlags(event, flags));
}
inline static hipError_t hipEventQuery(hipEvent_t event)
{
return hipCUDAErrorTohipError(cudaEventQuery(event));
}
#ifdef __cplusplus
}