diff options
author | koray kavukcuoglu <koray@kavukcuoglu.org> | 2013-04-16 20:54:16 +0400 |
---|---|---|
committer | koray kavukcuoglu <koray@kavukcuoglu.org> | 2013-04-16 20:54:16 +0400 |
commit | 4b0acf5cb75c4450fe329508cad2e923bf6abd3f (patch) | |
tree | c33607c47219789860c3054bcbf4172d1ec4030b /Tensor.c | |
parent | ce30637fb08135ec2ffa3b936480b2dc7933e8d8 (diff) |
indexing operators work with CUDA, well they give out errors.
Diffstat (limited to 'Tensor.c')
-rw-r--r-- | Tensor.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); } |