From b3c6b1f74fa9d683696d020e18be9ae06554088a Mon Sep 17 00:00:00 2001 From: anapt Date: Fri, 26 Jan 2018 22:12:08 +0200 Subject: [PATCH] denominator fix --- mean_shift_cuda/meanshift_gpu_utils.cu | 2 +- mean_shift_cuda/meanshift_gpu_utils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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