|
@ -5,10 +5,10 @@ |
|
|
#include "meanshift_utils.h" |
|
|
#include "meanshift_utils.h" |
|
|
#include "meanshift_gpu_utils.h" |
|
|
#include "meanshift_gpu_utils.h" |
|
|
|
|
|
|
|
|
int DEVIATION = 1; |
|
|
int DEVIATION = 20; |
|
|
int NUMBER_OF_POINTS = 587; |
|
|
int NUMBER_OF_POINTS = 1024; |
|
|
int DIMENSIONS = 2; |
|
|
int DIMENSIONS = 32; |
|
|
const char *POINTS_FILENAME = "../data/X.bin"; |
|
|
const char *POINTS_FILENAME = "../data/32"; |
|
|
const char *LABELS_FILENAME = "../data/L.bin"; |
|
|
const char *LABELS_FILENAME = "../data/L.bin"; |
|
|
parameters params; |
|
|
parameters params; |
|
|
|
|
|
|
|
@ -38,8 +38,8 @@ int main(int argc, char **argv){ |
|
|
printf("\nTotal number of recursions = %d\n", recursions); |
|
|
printf("\nTotal number of recursions = %d\n", recursions); |
|
|
printf("%s wall clock time = %f\n","Mean Shift", seq_time); |
|
|
printf("%s wall clock time = %f\n","Mean Shift", seq_time); |
|
|
|
|
|
|
|
|
free(vectors[0]); |
|
|
//free(vectors[0]); |
|
|
free(vectors); |
|
|
//free(vectors); |
|
|
free(shifted_points[0]); |
|
|
//free(shifted_points[0]); |
|
|
free(shifted_points); |
|
|
//free(shifted_points); |
|
|
} |
|
|
} |
|
|