pub fn event_destroy(event: CudaEvent) -> CudaRtResult<()>
Destroy a CUDA event.
Mirrors cudaEventDestroy.
cudaEventDestroy
Propagates driver errors.