2017-05-19 14:53:26 +08:00
|
|
|
#ifndef GPUMILIBRARY_H
|
|
|
|
#define GPUMILIBRARY_H
|
|
|
|
|
2017-12-12 19:16:03 +08:00
|
|
|
#include "gpuKnnLibrary.h"
|
|
|
|
|
2017-05-19 14:53:26 +08:00
|
|
|
#define FREE(x) { if (x) free(x); x = NULL; }
|
|
|
|
|
2017-05-19 16:19:13 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2017-05-23 14:18:16 +08:00
|
|
|
jidt_error_t MIKraskovWithReorderings(int N, float *source, int dimx, float *dest, int dimy,
|
|
|
|
int k, int thelier, int nb_surrogates, int returnLocals, int useMaxNorm,
|
|
|
|
int isAlgorithm1, float *result, int reorderingsGiven, int **reorderings);
|
|
|
|
|
2017-05-19 14:53:26 +08:00
|
|
|
jidt_error_t MIKraskov_C(int N, float *source, int dimx, float *dest, int dimy,
|
2017-05-23 00:09:24 +08:00
|
|
|
int k, int thelier, int nb_surrogates, int returnLocals, int useMaxNorm,
|
2017-05-19 14:53:26 +08:00
|
|
|
int isAlgorithm1, float *result);
|
2017-05-23 00:09:24 +08:00
|
|
|
|
|
|
|
jidt_error_t MIKraskovByPointsetChunks(int N, float *source, int dimx,
|
|
|
|
float *dest, int dimy, int k, int thelier, int nb_surrogates,
|
|
|
|
int returnLocals, int useMaxNorm, int isAlgorithm1, float *result,
|
|
|
|
float *pointset);
|
2017-05-19 16:19:13 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2017-05-19 14:53:26 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|