lammps-master/lib/gpu/lal_balance.h
inline void start_timer() {
    if (_measure_this_step) {
      _device->gpu->sync();
      _device->gpu_barrier();
      _device->start_host_timer();
      _device_time.start();
      _device->gpu->sync();
      _device->gpu_barrier();
    }
  }
/// Start the timer for asynchronous device execution
Start the timer for asynchronous device execution
Start the timer for asynchronous device execution
inline void start_timer() {
    if (_measure_this_step) {
      _device->gpu->sync();
      _device->gpu_barrier();
      _device->start_host_timer();
      _device_time.start();
      _device->gpu->sync();
      _device->gpu_barrier();
    }
  }
inline void start_timer ( ) { if ( _measure_this_step ) { _device -> gpu -> sync ( ) ; _device -> gpu_barrier ( ) ; _device -> start_host_timer ( ) ; _device_time . start ( ) ; _device -> gpu -> sync ( ) ; _device -> gpu_barrier ( ) ; } }
Start the timer for asynchronous device execution
Start the timer for asynchronous device execution