From fa8763a689f5eb35dcc691edd4c2f0de8191c073 Mon Sep 17 00:00:00 2001 From: David Mayerich Date: Thu, 9 Mar 2017 17:51:06 -0600 Subject: [PATCH] removed CUDA device output during FFT --- stim/envi/agilent_binary.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stim/envi/agilent_binary.h b/stim/envi/agilent_binary.h index 377b4c7..68867f3 100644 --- a/stim/envi/agilent_binary.h +++ b/stim/envi/agilent_binary.h @@ -243,13 +243,13 @@ public: if (device >= 0) { //if a CUDA device is specified int dev_count; HANDLE_ERROR(cudaGetDeviceCount(&dev_count)); //get the number of CUDA devices - std::cout << "Number of CUDA devices: " << dev_count << std::endl; //output the number of CUDA devices + //std::cout << "Number of CUDA devices: " << dev_count << std::endl; //output the number of CUDA devices cudaDeviceProp prop; - std::cout << "CUDA devices----" << std::endl; + //std::cout << "CUDA devices----" << std::endl; for (int d = 0; d < dev_count; d++) { //for each CUDA device cudaGetDeviceProperties(&prop, d); //get the property of the first device //float cc = prop.major + prop.minor / 10.0f; //calculate the compute capability - std::cout << d << ": [" << prop.major << "." << prop.minor << "] " << prop.name << std::endl; //display the device information + //std::cout << d << ": [" << prop.major << "." << prop.minor << "] " << prop.name << std::endl; //display the device information //if(cc > best_device_cc){ // best_device_cc = cc; //if this is better than the previous device, use it // best_device_id = d; @@ -258,7 +258,7 @@ public: if (dev_count > 0 && dev_count > device) { //if the first device is not an emulator cudaGetDeviceProperties(&prop, device); //get the property of the requested CUDA device if (prop.major != 9999) { - std::cout << "Using device " << device << std::endl; + //std::cout << "Using device " << device << std::endl; HANDLE_ERROR(cudaSetDevice(device)); } } -- libgit2 0.21.4