#include #include "kernel.h" #include "common.cuh" #define scatter_(NAME) TH_CONCAT_4(scatter_, NAME, _kernel_, Real) #define index_backward TH_CONCAT_2(index_backward_kernel_, Real) #define check TH_CONCAT_2(check_kernel_, Real) #define thc_(NAME) TH_CONCAT_4(thc_, NAME, _, Real) #include "generic/common.cu" #include "THCGenerateAllTypes.h" template __global__ void maxKernel(TensorInfo output, TensorInfo index, TensorInfo input, TensorInfo arg_output, const int dim, const int n) { KERNEL_LOOP(i, n) { } } #include "generic/kernel.cu" #include "THCGenerateAllTypes.h"