From 694902920d067b73bda1f6da1d2a78d885db8f9d Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 13 Nov 2015 10:25:00 -0500 Subject: [PATCH] removed print statements --- dlib/dnn/gpu_data.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlib/dnn/gpu_data.cpp b/dlib/dnn/gpu_data.cpp index a15499a86..85489f34f 100644 --- a/dlib/dnn/gpu_data.cpp +++ b/dlib/dnn/gpu_data.cpp @@ -22,7 +22,6 @@ namespace dlib { if (have_active_transfer) { - std::cout << "wait for cudaStreamSynchronize()" << std::endl; CHECK_CUDA(cudaStreamSynchronize((cudaStream_t)cuda_stream.get())); have_active_transfer = false; // Check for errors. These calls to cudaGetLastError() are what help us find @@ -46,7 +45,6 @@ namespace dlib if (!host_current) { wait_for_transfer_to_finish(); - std::cout << "cudaMemcpy to host" << std::endl; CHECK_CUDA(cudaMemcpy(data_host.get(), data_device.get(), data_size*sizeof(float), cudaMemcpyDeviceToHost)); host_current = true; // Check for errors. These calls to cudaGetLastError() are what help us find @@ -60,7 +58,6 @@ namespace dlib { if (!device_current) { - std::cout << "cudaMemcpyAsync to device" << std::endl; CHECK_CUDA(cudaMemcpyAsync(data_device.get(), data_host.get(), data_size*sizeof(float), cudaMemcpyHostToDevice, (cudaStream_t)cuda_stream.get())); have_active_transfer = true; device_current = true;