Data size counter takes into account that with use_host_ptr a buffer is always transferred