torch/cutorch — pull request #16 by hycis (2014-06-12 00:16:34+00:00)
Title: Optimized indexSelect for cuda version

The origin indexSelect cuda version is 3x slower than the c version, I have optimised it to be 3x faster than the c version.