diff --git a/mean_shift_cuda/meanshift_gpu_utils.cu b/mean_shift_cuda/meanshift_gpu_utils.cu index b6b8bb3..1bc88a0 100644 --- a/mean_shift_cuda/meanshift_gpu_utils.cu +++ b/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); diff --git a/mean_shift_cuda/meanshift_gpu_utils.h b/mean_shift_cuda/meanshift_gpu_utils.h index b357bba..48d466c 100644 --- a/mean_shift_cuda/meanshift_gpu_utils.h +++ b/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 \ No newline at end of file