hasktorch-ffi-thc-0.0.1.0: Bindings to Cutorch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.THC.CachingAllocator

Synopsis

Documentation

c_THCCachingAllocator_getBaseAllocation :: Ptr () -> Ptr CSize -> IO (Ptr ()) Source #

c_THCCachingAllocator_getBaseAllocation : ptr size -> void *

c_THCCachingAllocator_recordStream :: Ptr () -> Ptr C'THCStream -> IO () Source #

c_THCCachingAllocator_recordStream : ptr stream -> void

c_THCCachingAllocator_currentMemoryAllocated :: CInt -> IO CULong Source #

c_THCCachingAllocator_currentMemoryAllocated : device -> uint64_t

c_THCCachingAllocator_maxMemoryAllocated :: CInt -> IO CULong Source #

c_THCCachingAllocator_maxMemoryAllocated : device -> uint64_t

c_THCCachingAllocator_currentMemoryCached :: CInt -> IO CULong Source #

c_THCCachingAllocator_currentMemoryCached : device -> uint64_t

c_THCCachingAllocator_maxMemoryCached :: CInt -> IO CULong Source #

c_THCCachingAllocator_maxMemoryCached : device -> uint64_t

p_THCCachingAllocator_getBaseAllocation :: FunPtr (Ptr () -> Ptr CSize -> IO (Ptr ())) Source #

p_THCCachingAllocator_getBaseAllocation : Pointer to function : ptr size -> void *

p_THCCachingAllocator_recordStream :: FunPtr (Ptr () -> Ptr C'THCStream -> IO ()) Source #

p_THCCachingAllocator_recordStream : Pointer to function : ptr stream -> void

p_THCCachingAllocator_currentMemoryAllocated :: FunPtr (CInt -> IO CULong) Source #

p_THCCachingAllocator_currentMemoryAllocated : Pointer to function : device -> uint64_t

p_THCCachingAllocator_maxMemoryAllocated :: FunPtr (CInt -> IO CULong) Source #

p_THCCachingAllocator_maxMemoryAllocated : Pointer to function : device -> uint64_t

p_THCCachingAllocator_currentMemoryCached :: FunPtr (CInt -> IO CULong) Source #

p_THCCachingAllocator_currentMemoryCached : Pointer to function : device -> uint64_t

p_THCCachingAllocator_maxMemoryCached :: FunPtr (CInt -> IO CULong) Source #

p_THCCachingAllocator_maxMemoryCached : Pointer to function : device -> uint64_t