Merge pull request #456 from torch/more-cutorch-template-types

reduce and BLAS work