isSameSizeAs
isSameSizeAs unit test
isSameSizeAs works
Merge pull request #33 from nicholas-leonard/cudatensor

torch.CudaTensor:isSameSizeAs()
adding torch/ffi for CudaTensor/CudaStorage
getting max 1d texture size into cutorch.properties
Make :data() on an empty Tensor return nil rather than segfault.
adding freeMem property
more verbose error for texture creation errors
Tensor:cdiv with three arguments

Torch tensors support the cdiv operation with both two and three arguments.
cutorch only supports the two-argument (in-place) version. This patch extends it
to also support the three-argument version and adds a test for it. The
implementation is very similar to cmul which already supports both two and three
arguments.
Merge pull request #37 from dominikgrewe/cdiv3

Tensor:cdiv with three arguments
fixing #36 indexCopy works for non-contiguous source tensors
adding test for #39
Make element-wise unary operators more consitent with Torch.

Added version with two arguments of many unary operators to allow not-in-place
operations.
Made 'sign' and 'pow' operator resize the target tensor if necessary.
Added tests for all operators.
Merge pull request #40 from dominikgrewe/unary_op

Make element-wise unary operators more consistent with Torch.
adding CONTRIBUTING guidelines
peer to peer access
Merge pull request #44 from szagoruyko/multigpu

Peer to peer operation to enable Multi-GPU
Initialize random seed during CUDA initialization.

Initialize the random seed for all GPUs during CUDA initialization rather than
when the device is set.
Merge pull request #45 from dominikgrewe/random_seed

Initialize random seed during CUDA initialization.