Browse Source

device mem allocation timer

master
anapt 7 years ago
parent
commit
baf2b887a6
  1. 3
      mean_shift_cuda/meanshift_gpu_utils.cu

3
mean_shift_cuda/meanshift_gpu_utils.cu

@ -9,6 +9,9 @@
cudaDeviceProp device_properties; cudaDeviceProp device_properties;
struct timeval startwtime, endwtime;
double seq_time;
//Based on https://stackoverflow.com/a/28113186 //Based on https://stackoverflow.com/a/28113186
//Pio psagmeno link https://www.cs.virginia.edu/~csadmin/wiki/index.php/CUDA_Support/Choosing_a_GPU //Pio psagmeno link https://www.cs.virginia.edu/~csadmin/wiki/index.php/CUDA_Support/Choosing_a_GPU
void set_GPU(){ void set_GPU(){

Loading…
Cancel
Save