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

github.com/torch/cutorch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoray kavukcuoglu <koray@kavukcuoglu.org>2013-04-16 20:54:16 +0400
committerkoray kavukcuoglu <koray@kavukcuoglu.org>2013-04-16 20:54:16 +0400
commit4b0acf5cb75c4450fe329508cad2e923bf6abd3f (patch)
treec33607c47219789860c3054bcbf4172d1ec4030b /Tensor.c
parentce30637fb08135ec2ffa3b936480b2dc7933e8d8 (diff)
indexing operators work with CUDA, well they give out errors.
Diffstat (limited to 'Tensor.c')
-rw-r--r--Tensor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tensor.c b/Tensor.c
index 1dc1024..e233555 100644
--- a/Tensor.c
+++ b/Tensor.c
@@ -19,17 +19,17 @@ void THCudaTensor_maskedSelect(THCudaTensor *tensor, THCudaTensor* src, THByteTe
THError("not yet implemented for CUDA");
}
-static void THCudaTensor_indexFill(THCudaTensor *tensor, int dim, THLongTensor *index, real val)
+static void THCudaTensor_indexFill(THCudaTensor *tensor, int dim, THLongTensor *index, float val)
{
THError("not yet implemented for CUDA");
}
-static void THCudaTensor_indexCopy(THTensor *tensor, int dim, THLongTensor *index, THTensor *src)
+static void THCudaTensor_indexCopy(THCudaTensor *tensor, int dim, THLongTensor *index, THCudaTensor *src)
{
THError("not yet implemented for CUDA");
}
-static void THCudaTensor_indexSelect(THTensor *tensor, THTensor *src, int dim, THLongTensor *index)
+static void THCudaTensor_indexSelect(THCudaTensor *tensor, THCudaTensor *src, int dim, THLongTensor *index)
{
THError("not yet implemented for CUDA");
}