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.
test.lua can now be either run as standalone or as part of the package cutorch.test()
upped the minimum cuda version to 5.5 to fix concern in #43
making the deviceTodevice copies async
Merge pull request #47 from torch/topic_devicecopiesasync

making the deviceTodevice copies async
fixes non-contiguous copy bug
Merge pull request #50 from nicholas-leonard/copy

fixes non-contiguous copy bug