add hipStreamWaitEvent on nvcc

[ROCm/hip commit: 32e9436374]
Cette révision appartient à :
Ben Sander
2016-09-01 13:28:27 -05:00
Parent 6824b3af6d
révision aaca975b25
+6
Voir le fichier
@@ -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);