public boolean isActualOnHostSide ( ) { //log.info("isActuialOnHostSide() -> Host side: [{}], Device side: [{}]", accessHostRead.get(), accessDeviceRead.get()); boolean result = accessHostWrite . get ( ) >= accessDeviceWrite . get ( ) || accessHostRead . get ( ) >= accessDeviceWrite . get ( ) ; //log.info("isActuialOnHostSide() -> {}, shape: {}", result, shape); return result ; }
This method returns if host side has actual copy of data