Browse Source

denominator fix

master
anapt 7 years ago
parent
commit
b3c6b1f74f
  1. 2
      mean_shift_cuda/meanshift_gpu_utils.cu
  2. 2
      mean_shift_cuda/meanshift_gpu_utils.h

2
mean_shift_cuda/meanshift_gpu_utils.cu

@ -101,7 +101,7 @@ int meanshift(double **original_points, double ***shifted_points, int deviation
&kernel_matrix);
// calculates denominator
calculate_denominator(d_kernel_matrix, d_denominator, &denominator);
calculate_denominator(d_kernel_matrix, d_denominator);

2
mean_shift_cuda/meanshift_gpu_utils.h

@ -48,6 +48,6 @@ void free_device_memory(Matrix d_original_points, Matrix d_kernel_matrix, Matrix
//Function calculate_denominator allocates memory in GPU, sends the data and calls the
//denominator kernel function.
void calculate_denominator(Matrix d_kernel_matrix, Matrix d_denominator, double **denominator);
void calculate_denominator(Matrix d_kernel_matrix, Matrix d_denominator);
#endif //SERIAL_GPU_UTILS_H
Loading…
Cancel
Save