Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/cunn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoumith <soumith@fb.com>2016-08-12 04:06:05 +0300
committersoumith <soumith@fb.com>2016-08-12 04:57:28 +0300
commit2618f796bd1db29344d2c862928bbc1510a05814 (patch)
tree3bdabff0efc116a94965f90e54e675fc70bc3345 /THCUNN.lua
parent65568cfcf6fbfadb9c7aca5323d1cc407be91510 (diff)
fixes for multiple cuda types
Diffstat (limited to 'THCUNN.lua')
-rw-r--r--THCUNN.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/THCUNN.lua b/THCUNN.lua
index 07a8cc8..771cd0c 100644
--- a/THCUNN.lua
+++ b/THCUNN.lua
@@ -25,9 +25,8 @@ local replacements =
{
{
['THTensor'] = 'THCudaTensor',
- ['THIndexTensor'] = 'THCudaTensor',
- ['THIntegerTensor'] = 'THCudaTensor',
- ['THIndex_t'] = 'float',
+ ['THIndexTensor'] = 'THCudaLongTensor',
+ ['THIndex_t'] = 'long',
['THInteger_t'] = 'float'
}
}