|
|
@ -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; |
|
|
|