diff options
author | soumith <soumith@fb.com> | 2016-10-25 17:21:54 +0300 |
---|---|---|
committer | soumith <soumith@fb.com> | 2016-10-25 17:21:54 +0300 |
commit | 69c9454c07a6da74ab469bb9866c17656fbed8a2 (patch) | |
tree | 68df56e2fa2bb38d60bfaefda562699dcf96fc9e /FFI.lua | |
parent | e56feb8f9859990fda4c53fb59c69f08b77e85bf (diff) |
Store the device in THCStorage
Diffstat (limited to 'FFI.lua')
-rw-r--r-- | FFI.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -63,6 +63,7 @@ typedef struct THCStorage THAllocator *allocator; void *allocatorContext; struct THCStorage *view; + int device; } THCStorage; typedef struct THCTensor |