Commit ea62b22d authored by rusty1s's avatar rusty1s
Browse files

boilerplate

parent 1d06c5ad
#include <TH/TH.h>
#define cluster_(NAME) TH_CONCAT_4(cluster_, NAME, _, Real)
#include "generic/cpu.c"
#include "THGenerateAllTypes.h"
void cluster_grid_Float (int C, THLongTensor *output, THFloatTensor *position, THFloatTensor *size);
void cluster_grid_Double(int C, THLongTensor *output, THDoubleTensor *position, THDoubleTensor *size);
void cluster_grid_Byte (int C, THLongTensor *output, THByteTensor *position, THByteTensor *size);
void cluster_grid_Char (int C, THLongTensor *output, THCharTensor *position, THCharTensor *size);
void cluster_grid_Short (int C, THLongTensor *output, THShortTensor *position, THShortTensor *size);
void cluster_grid_Int (int C, THLongTensor *output, THIntTensor *position, THIntTensor *size);
void cluster_grid_Long (int C, THLongTensor *output, THLongTensor *position, THLongTensor *size);
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/cpu.c"
#else
void cluster_(grid)(int C, THLongTensor *output, THTensor *position, THTensor *size) {
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment