Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- c_THCCachingAllocator_getBaseAllocation :: Ptr () -> Ptr CSize -> IO (Ptr ())
- c_THCCachingAllocator_recordStream :: Ptr () -> Ptr C'THCStream -> IO ()
- c_THCCachingAllocator_currentMemoryAllocated :: CInt -> IO CULong
- c_THCCachingAllocator_maxMemoryAllocated :: CInt -> IO CULong
- c_THCCachingAllocator_currentMemoryCached :: CInt -> IO CULong
- c_THCCachingAllocator_maxMemoryCached :: CInt -> IO CULong
- p_THCCachingAllocator_getBaseAllocation :: FunPtr (Ptr () -> Ptr CSize -> IO (Ptr ()))
- p_THCCachingAllocator_recordStream :: FunPtr (Ptr () -> Ptr C'THCStream -> IO ())
- p_THCCachingAllocator_currentMemoryAllocated :: FunPtr (CInt -> IO CULong)
- p_THCCachingAllocator_maxMemoryAllocated :: FunPtr (CInt -> IO CULong)
- p_THCCachingAllocator_currentMemoryCached :: FunPtr (CInt -> IO CULong)
- p_THCCachingAllocator_maxMemoryCached :: FunPtr (CInt -> IO CULong)
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