{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Int.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 THCudaIntStorage_rawCopy"
c_rawCopy :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr CInt -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copy"
c_copy :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THCIntStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyByte"
c_copyByte :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THByteStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyChar"
c_copyChar :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THCharStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyShort"
c_copyShort :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THShortStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyInt"
c_copyInt :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THIntStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyLong"
c_copyLong :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THLongStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyFloat"
c_copyFloat :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THFloatStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyDouble"
c_copyDouble :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THDoubleStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyHalf"
c_copyHalf :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THHalfStorage -> IO ()
foreign import ccall "THCStorageCopy.h THIntStorage_copyCuda"
c_thCopyCuda :: Ptr C'THCState -> Ptr C'THIntStorage -> Ptr C'THCIntStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyCuda"
c_copyCuda :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THCIntStorage -> IO ()
foreign import ccall "THCStorageCopy.h THCudaIntStorage_copyCPU"
c_copyCPU :: Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THIntStorage -> IO ()
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_rawCopy"
p_rawCopy :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr CInt -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copy"
p_copy :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THCIntStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyByte"
p_copyByte :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THByteStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyChar"
p_copyChar :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THCharStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyShort"
p_copyShort :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THShortStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyInt"
p_copyInt :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THIntStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyLong"
p_copyLong :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THLongStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyFloat"
p_copyFloat :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THFloatStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyDouble"
p_copyDouble :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THDoubleStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyHalf"
p_copyHalf :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THHalfStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THIntStorage_copyCuda"
p_thCopyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THIntStorage -> Ptr C'THCIntStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyCuda"
p_copyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THCIntStorage -> IO ())
foreign import ccall "THCStorageCopy.h &THCudaIntStorage_copyCPU"
p_copyCPU :: FunPtr (Ptr C'THCState -> Ptr C'THCIntStorage -> Ptr C'THIntStorage -> IO ())