added more nvcc event functions

Change-Id: I79ee20ef444d4c1ab6ada3c0d56730ce754ab6b6


[ROCm/hip commit: 36b81c1be6]
이 커밋은 다음에 포함됨:
Aditya Atluri
2016-06-30 21:03:19 -05:00
부모 f46c981363
커밋 a873cec96c
+9
파일 보기
@@ -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
}