summaryrefslogtreecommitdiffstats
path: root/contrib/lua-torch/torch7/Tensor.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/lua-torch/torch7/Tensor.c')
-rw-r--r--contrib/lua-torch/torch7/Tensor.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/lua-torch/torch7/Tensor.c b/contrib/lua-torch/torch7/Tensor.c
new file mode 100644
index 000000000..bf78d1aae
--- /dev/null
+++ b/contrib/lua-torch/torch7/Tensor.c
@@ -0,0 +1,12 @@
+#include "general.h"
+
+#define torch_Storage_(NAME) TH_CONCAT_4(torch_,Real,Storage_,NAME)
+#define torch_Storage TH_CONCAT_STRING_3(torch.,Real,Storage)
+#define torch_Tensor_(NAME) TH_CONCAT_4(torch_,Real,Tensor_,NAME)
+#define torch_Tensor TH_CONCAT_STRING_3(torch.,Real,Tensor)
+
+#include "generic/Tensor.c"
+#include "THGenerateAllTypes.h"
+
+#include "generic/Tensor.c"
+#include "THGenerateHalfType.h"