{-# LANGUAGE ForeignFunctionInterface #-} module Torch.FFI.THC.Double.StorageCopy where import Foreign import Foreign.C.Types import Data.Word import Data.Int import Torch.Types.TH import Torch.Types.THC -- | c_rawCopy : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_rawCopy" c_rawCopy :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr CDouble -> IO () -- | c_copy : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copy" c_copy :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THCDoubleStorage -> IO () -- | c_copyByte : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyByte" c_copyByte :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THByteStorage -> IO () -- | c_copyChar : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyChar" c_copyChar :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THCharStorage -> IO () -- | c_copyShort : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyShort" c_copyShort :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THShortStorage -> IO () -- | c_copyInt : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyInt" c_copyInt :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THIntStorage -> IO () -- | c_copyLong : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyLong" c_copyLong :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THLongStorage -> IO () -- | c_copyFloat : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyFloat" c_copyFloat :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THFloatStorage -> IO () -- | c_copyDouble : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyDouble" c_copyDouble :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THDoubleStorage -> IO () -- | c_copyHalf : state storage src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyHalf" c_copyHalf :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THHalfStorage -> IO () -- | c_thCopyCuda : state self src -> void foreign import ccall "THCStorageCopy.h THDoubleStorage_copyCuda" c_thCopyCuda :: Ptr C'THCState -> Ptr C'THDoubleStorage -> Ptr C'THCDoubleStorage -> IO () -- | c_copyCuda : state self src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyCuda" c_copyCuda :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THCDoubleStorage -> IO () -- | c_copyCPU : state self src -> void foreign import ccall "THCStorageCopy.h THCudaDoubleStorage_copyCPU" c_copyCPU :: Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THDoubleStorage -> IO () -- | p_rawCopy : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_rawCopy" p_rawCopy :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr CDouble -> IO ()) -- | p_copy : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copy" p_copy :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THCDoubleStorage -> IO ()) -- | p_copyByte : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyByte" p_copyByte :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THByteStorage -> IO ()) -- | p_copyChar : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyChar" p_copyChar :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THCharStorage -> IO ()) -- | p_copyShort : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyShort" p_copyShort :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THShortStorage -> IO ()) -- | p_copyInt : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyInt" p_copyInt :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THIntStorage -> IO ()) -- | p_copyLong : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyLong" p_copyLong :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THLongStorage -> IO ()) -- | p_copyFloat : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyFloat" p_copyFloat :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THFloatStorage -> IO ()) -- | p_copyDouble : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyDouble" p_copyDouble :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THDoubleStorage -> IO ()) -- | p_copyHalf : Pointer to function : state storage src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyHalf" p_copyHalf :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THHalfStorage -> IO ()) -- | p_thCopyCuda : Pointer to function : state self src -> void foreign import ccall "THCStorageCopy.h &THDoubleStorage_copyCuda" p_thCopyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THDoubleStorage -> Ptr C'THCDoubleStorage -> IO ()) -- | p_copyCuda : Pointer to function : state self src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyCuda" p_copyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THCDoubleStorage -> IO ()) -- | p_copyCPU : Pointer to function : state self src -> void foreign import ccall "THCStorageCopy.h &THCudaDoubleStorage_copyCPU" p_copyCPU :: FunPtr (Ptr C'THCState -> Ptr C'THCDoubleStorage -> Ptr C'THDoubleStorage -> IO ())