Browse Source

norm kernel

master
anapt 7 years ago
parent
commit
d77556e77c
  1. 4
      mean_shift_cuda/meanshift_gpu_utils.cu

4
mean_shift_cuda/meanshift_gpu_utils.cu

@ -353,8 +353,8 @@ void calculate_norm(Matrix d_mean_shift_vector, double *current_norm){
int size;
static bool first_iter = true;
// gets max block size supported from the device
static int max_block_size = device_properties.maxThreadsPerBlock;
static int requested_block_size = (int)(max_block_size / d_mean_shift_vector.width);
static int requested_block_size = device_properties.maxThreadsPerBlock;
bool block_size_too_big = true;
dim3 dimBlock;

Loading…
Cancel
Save