pub fn synchronize_current() -> CudaResult<()> {
    match unsafe { cudaDeviceSynchronize() } {
      cudaError_cudaSuccess => Ok(()),
      e => Err(CudaError(e)),
    }
  }
/// Synchronize all work on the current device.
///
/// Corresponds to `cudaDeviceSynchronize`.
Synchronize all work on the current device.
Synchronize all work on the current device .
pub fn synchronize_current() -> CudaResult<()> {
    match unsafe { cudaDeviceSynchronize() } {
      cudaError_cudaSuccess => Ok(()),
      e => Err(CudaError(e)),
    }
  }
pub fn synchronize_current ( ) -> CudaResult < ( ) > { match unsafe { cudaDeviceSynchronize ( ) } { cudaError_cudaSuccess => Ok ( ( ) ) , e => Err ( CudaError ( e ) ) , } }
Synchronize all work on the current device.
Synchronize all work on the current device .