commit | ef4aa8e27a726b067d8f4f51b89d6f84edc99863 | [log] [tgz] |
---|---|---|
author | Sam Gross <sgross@fb.com> | Wed Jun 10 15:13:56 2015 -0700 |
committer | Sam Gross <sgross@fb.com> | Thu Jun 11 08:06:09 2015 -0700 |
tree | b1ebf548ec0c1481e43a88e767cc8f493d120323 | |
parent | 70fcaa1c494201b2765eae7b756ee75dec089a35 [diff] |
Allow CudaTensors as indices Allow indexFill, indexCopy, and index to accept CudaTensors as indices instead of LongTensors. We already just do a copy from LongTensor to CudaTensor in the cutorch implementations, so this changes doesn't result in any additional loss in precision.