From 714eb56e1760fdfb26afccde92664d3a2f1e8435 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 23 May 2018 18:14:15 +0100 Subject: [Minor] Move lua contrib libraries to lua- prefix --- contrib/lua-torch/torch7/Tensor.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/lua-torch/torch7/Tensor.c (limited to 'contrib/lua-torch/torch7/Tensor.c') 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" -- cgit v1.2.3