{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Char.TensorScatterGather where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorScatterGather.h THCudaCharTensor_gather"
c_gather :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> IO ()
foreign import ccall "THCTensorScatterGather.h THCudaCharTensor_scatter"
c_scatter :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> Ptr C'THCudaCharTensor -> IO ()
foreign import ccall "THCTensorScatterGather.h THCudaCharTensor_scatterAdd"
c_scatterAdd :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> Ptr C'THCudaCharTensor -> IO ()
foreign import ccall "THCTensorScatterGather.h THCudaCharTensor_scatterFill"
c_scatterFill :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> CChar -> IO ()
foreign import ccall "THCTensorScatterGather.h &THCudaCharTensor_gather"
p_gather :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> IO ())
foreign import ccall "THCTensorScatterGather.h &THCudaCharTensor_scatter"
p_scatter :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> Ptr C'THCudaCharTensor -> IO ())
foreign import ccall "THCTensorScatterGather.h &THCudaCharTensor_scatterAdd"
p_scatterAdd :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> Ptr C'THCudaCharTensor -> IO ())
foreign import ccall "THCTensorScatterGather.h &THCudaCharTensor_scatterFill"
p_scatterFill :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CInt -> Ptr C'THCudaLongTensor -> CChar -> IO ())