torch/cutorch — pull request #79 by soumith (2014-11-12 04:55:38+00:00)
Title: adding getDevice for tensor, manualSeedAll and seedAll

- Adds a function on a CudaTensor:getDevice() that would give you which GPU the tensor lives on.
- Adds a manualSeedAll and seedAll for situations when you want all GPUs to have the same seed.
- removes static variables in TensorConv, which were unnecessary and ugly.