Skip to content

Commit 1ec2772

Browse files
style(pre-commit): autofix
1 parent d94931f commit 1ec2772

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

perception/autoware_tensorrt_rtmdet/src/tensorrt_rtmdet.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ bool TrtRTMDet::feedforward(
244244
out_masks_h_.reset(new float[batch_size_ * 20 * model_input_width_ * model_input_height_]);
245245

246246
CHECK_CUDA_ERROR(cudaMemcpyAsync(
247-
out_detections_h_.get(), out_detections_d_.get(), sizeof(float) * batch_size_ * max_detections_ * 5,
248-
cudaMemcpyDeviceToHost, *stream_));
247+
out_detections_h_.get(), out_detections_d_.get(),
248+
sizeof(float) * batch_size_ * max_detections_ * 5, cudaMemcpyDeviceToHost, *stream_));
249249
CHECK_CUDA_ERROR(cudaMemcpyAsync(
250250
out_labels_h_.get(), out_labels_d_.get(), sizeof(int32_t) * batch_size_ * max_detections_,
251251
cudaMemcpyDeviceToHost, *stream_));

0 commit comments

Comments
 (0)