{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Byte.TensorCopy where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copy"
c_copy :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyIgnoringOverlaps"
c_copyIgnoringOverlaps :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyByte"
c_copyByte :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyChar"
c_copyChar :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCharTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyShort"
c_copyShort :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THShortTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyInt"
c_copyInt :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THIntTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyLong"
c_copyLong :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THLongTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyFloat"
c_copyFloat :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THFloatTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyDouble"
c_copyDouble :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THDoubleTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyHalf"
c_copyHalf :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THHalfTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCudaByte"
c_copyCudaByte :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCudaChar"
c_copyCudaChar :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaCharTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCudaShort"
c_copyCudaShort :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaShortTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCudaInt"
c_copyCudaInt :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaIntTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCudaLong"
c_copyCudaLong :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaLongTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCudaDouble"
c_copyCudaDouble :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaDoubleTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCuda"
c_copyCuda :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THByteTensor_copyCuda"
c_thCopyCuda :: Ptr C'THCState -> Ptr C'THByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyCPU"
c_copyCPU :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THCudaByteTensor_copyAsyncCPU"
c_copyAsyncCPU :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h THByteTensor_copyAsyncCuda"
c_thCopyAsyncCuda :: Ptr C'THCState -> Ptr C'THByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copy"
p_copy :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyIgnoringOverlaps"
p_copyIgnoringOverlaps :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyByte"
p_copyByte :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyChar"
p_copyChar :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCharTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyShort"
p_copyShort :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THShortTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyInt"
p_copyInt :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THIntTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyLong"
p_copyLong :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THLongTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyFloat"
p_copyFloat :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THFloatTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyDouble"
p_copyDouble :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THDoubleTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyHalf"
p_copyHalf :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THHalfTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCudaByte"
p_copyCudaByte :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCudaChar"
p_copyCudaChar :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaCharTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCudaShort"
p_copyCudaShort :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaShortTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCudaInt"
p_copyCudaInt :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaIntTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCudaLong"
p_copyCudaLong :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaLongTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCudaDouble"
p_copyCudaDouble :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaDoubleTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCuda"
p_copyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THByteTensor_copyCuda"
p_thCopyCuda :: FunPtr (Ptr C'THCState -> Ptr C'THByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyCPU"
p_copyCPU :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THCudaByteTensor_copyAsyncCPU"
p_copyAsyncCPU :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THByteTensor -> IO ())
foreign import ccall "THCTensorCopy.h &THByteTensor_copyAsyncCuda"
p_thCopyAsyncCuda :: FunPtr (Ptr C'THCState -> Ptr C'THByteTensor -> Ptr C'THCudaByteTensor -> IO ())