hasktorch-ffi-thc-0.0.1.0: Bindings to Cutorch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.THC.Byte.Storage

Synopsis

Documentation

c_data :: Ptr C'THCState -> Ptr C'THCByteStorage -> IO (Ptr CUChar) Source #

c_data : state -> real *

c_size :: Ptr C'THCState -> Ptr C'THCByteStorage -> IO CPtrdiff Source #

c_size : state -> ptrdiff_t

c_set :: Ptr C'THCState -> Ptr C'THCByteStorage -> CPtrdiff -> CUChar -> IO () Source #

c_set : state -> void

c_get :: Ptr C'THCState -> Ptr C'THCByteStorage -> CPtrdiff -> IO CUChar Source #

c_get : state -> real

c_new :: Ptr C'THCState -> IO (Ptr C'THCByteStorage) Source #

c_new : state -> THCStorage *

c_newWithSize :: Ptr C'THCState -> CPtrdiff -> IO (Ptr C'THCByteStorage) Source #

c_newWithSize : state size -> THCStorage *

c_newWithSize1 :: Ptr C'THCState -> CUChar -> IO (Ptr C'THCByteStorage) Source #

c_newWithSize1 : state -> THCStorage *

c_newWithSize2 :: Ptr C'THCState -> CUChar -> CUChar -> IO (Ptr C'THCByteStorage) Source #

c_newWithSize2 : state -> THCStorage *

c_newWithSize3 :: Ptr C'THCState -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THCByteStorage) Source #

c_newWithSize3 : state -> THCStorage *

c_newWithSize4 :: Ptr C'THCState -> CUChar -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THCByteStorage) Source #

c_newWithSize4 : state -> THCStorage *

c_newWithMapping :: Ptr C'THCState -> Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THCByteStorage) Source #

c_newWithMapping : state filename size shared -> THCStorage *

c_newWithData :: Ptr C'THCState -> Ptr CUChar -> CPtrdiff -> IO (Ptr C'THCByteStorage) Source #

c_newWithData : state data size -> THCStorage *

c_setFlag :: Ptr C'THCState -> Ptr C'THCByteStorage -> CChar -> IO () Source #

c_setFlag : state storage flag -> void

c_clearFlag :: Ptr C'THCState -> Ptr C'THCByteStorage -> CChar -> IO () Source #

c_clearFlag : state storage flag -> void

c_retain :: Ptr C'THCState -> Ptr C'THCByteStorage -> IO () Source #

c_retain : state storage -> void

c_free :: Ptr C'THCState -> Ptr C'THCByteStorage -> IO () Source #

c_free : state storage -> void

c_resize :: Ptr C'THCState -> Ptr C'THCByteStorage -> CPtrdiff -> IO () Source #

c_resize : state storage size -> void

c_fill :: Ptr C'THCState -> Ptr C'THCByteStorage -> CUChar -> IO () Source #

c_fill : state storage value -> void

c_getDevice :: Ptr C'THCState -> Ptr C'THCByteStorage -> IO CInt Source #

c_getDevice : state storage -> int

p_data :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> IO (Ptr CUChar)) Source #

p_data : Pointer to function : state -> real *

p_size :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> IO CPtrdiff) Source #

p_size : Pointer to function : state -> ptrdiff_t

p_set :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> CPtrdiff -> CUChar -> IO ()) Source #

p_set : Pointer to function : state -> void

p_get :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> CPtrdiff -> IO CUChar) Source #

p_get : Pointer to function : state -> real

p_new :: FunPtr (Ptr C'THCState -> IO (Ptr C'THCByteStorage)) Source #

p_new : Pointer to function : state -> THCStorage *

p_newWithSize :: FunPtr (Ptr C'THCState -> CPtrdiff -> IO (Ptr C'THCByteStorage)) Source #

p_newWithSize : Pointer to function : state size -> THCStorage *

p_newWithSize1 :: FunPtr (Ptr C'THCState -> CUChar -> IO (Ptr C'THCByteStorage)) Source #

p_newWithSize1 : Pointer to function : state -> THCStorage *

p_newWithSize2 :: FunPtr (Ptr C'THCState -> CUChar -> CUChar -> IO (Ptr C'THCByteStorage)) Source #

p_newWithSize2 : Pointer to function : state -> THCStorage *

p_newWithSize3 :: FunPtr (Ptr C'THCState -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THCByteStorage)) Source #

p_newWithSize3 : Pointer to function : state -> THCStorage *

p_newWithSize4 :: FunPtr (Ptr C'THCState -> CUChar -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THCByteStorage)) Source #

p_newWithSize4 : Pointer to function : state -> THCStorage *

p_newWithMapping :: FunPtr (Ptr C'THCState -> Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THCByteStorage)) Source #

p_newWithMapping : Pointer to function : state filename size shared -> THCStorage *

p_newWithData :: FunPtr (Ptr C'THCState -> Ptr CUChar -> CPtrdiff -> IO (Ptr C'THCByteStorage)) Source #

p_newWithData : Pointer to function : state data size -> THCStorage *

p_setFlag :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> CChar -> IO ()) Source #

p_setFlag : Pointer to function : state storage flag -> void

p_clearFlag :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> CChar -> IO ()) Source #

p_clearFlag : Pointer to function : state storage flag -> void

p_retain :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> IO ()) Source #

p_retain : Pointer to function : state storage -> void

p_free :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> IO ()) Source #

p_free : Pointer to function : state storage -> void

p_resize :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> CPtrdiff -> IO ()) Source #

p_resize : Pointer to function : state storage size -> void

p_fill :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> CUChar -> IO ()) Source #

p_fill : Pointer to function : state storage value -> void

p_getDevice :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> IO CInt) Source #

p_getDevice : Pointer to function : state storage -> int