blob: 11289c9c523a09cffcbb696736a3caa94f9bf5a4 [file] [log] [blame]
#ifndef THCS_TENSOR_INC
#define THCS_TENSOR_INC
#ifdef THCS_EXPORTS
#define TH_EXPORTS
#endif
#include <THC/THC.h>
#include <THS/THSTensor.h>
#include "THCSparse.h"
#define THCSTensor TH_CONCAT_3(THCS,Real,Tensor)
#define THCSTensor_(NAME) TH_CONCAT_4(THCS,Real,Tensor_,NAME)
#define THCIndexTensor THCudaLongTensor
#define THCIndexTensor_(NAME) TH_CONCAT_2(THCudaLongTensor_,NAME)
#define indexT int64_t
#include "generic/THCSTensor.h"
#include "THCSGenerateAllTypes.h"
#include "generic/THCSTensorMath.h"
#include "THCSGenerateAllTypes.h"
#endif