Skip to content

Commit 3aaf0d0

Browse files
committed
remove memcpy for pbeams
1 parent 64096c6 commit 3aaf0d0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gazebo/dave_gz_multibeam_sonar/multibeam_sonar/sonar_calculation_cuda.cu

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -541,12 +541,6 @@ CArray2D sonar_calculation_wrapper(
541541
cudaEventDestroy(start1);
542542
cudaEventDestroy(stop1);
543543

544-
printf("Total sonar calculation (kernel) time: %.3f ms\n", milliseconds);
545-
546-
// Copy back data from destination device meory to OpenCV output image
547-
SAFE_CALL(
548-
cudaMemcpy(P_Beams, d_P_Beams, P_Beams_Bytes, cudaMemcpyDeviceToHost), "CUDA Memcpy Failed");
549-
550544
if (debugFlag)
551545
{
552546
stop = std::chrono::high_resolution_clock::now();

0 commit comments

Comments
 (0)