{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Byte.StorageCopy where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCStorageCopy.h THCudaByteStorage_rawCopy"
c_rawCopy :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr CUChar -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copy"
c_copy :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THCByteStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyByte"
c_copyByte :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THByteStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyChar"
c_copyChar :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THCharStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyShort"
c_copyShort :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THShortStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyInt"
c_copyInt :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THIntStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyLong"
c_copyLong :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THLongStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyFloat"
c_copyFloat :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THFloatStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyDouble"
c_copyDouble :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THDoubleStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyHalf"
c_copyHalf :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THHalfStorage -> IO ()
foreign import ccall "THCStorageCopy.h THByteStorage_copyCuda"
c_thCopyCuda :: Ptr C'THCState -> Ptr C'THByteStorage -> Ptr C'THCByteStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyCuda"
c_copyCuda :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THCByteStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaByteStorage_copyCPU"
c_copyCPU :: Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THByteStorage -> IO ()
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_rawCopy"
p_rawCopy :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr CUChar -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copy"
p_copy :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THCByteStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyByte"
p_copyByte :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THByteStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyChar"
p_copyChar :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THCharStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyShort"
p_copyShort :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THShortStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyInt"
p_copyInt :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THIntStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyLong"
p_copyLong :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THLongStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyFloat"
p_copyFloat :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THFloatStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyDouble"
p_copyDouble :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THDoubleStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyHalf"
p_copyHalf :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THHalfStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THByteStorage_copyCuda"
p_thCopyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THByteStorage -> Ptr C'THCByteStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyCuda"
p_copyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THCByteStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaByteStorage_copyCPU"
p_copyCPU :: FunPtr (Ptr C'THCState -> Ptr C'THCByteStorage -> Ptr C'THByteStorage -> IO ())