{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Byte.TensorMathPairwise where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_add"
c_add :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_sub"
c_sub :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_add_scaled"
c_add_scaled :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_sub_scaled"
c_sub_scaled :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_mul"
c_mul :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_div"
c_div :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_lshift"
c_lshift :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_rshift"
c_rshift :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_fmod"
c_fmod :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_remainder"
c_remainder :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_bitand"
c_bitand :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_bitor"
c_bitor :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_bitxor"
c_bitxor :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaByteTensor_equal"
c_equal :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO CInt
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_add"
p_add :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_sub"
p_sub :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_add_scaled"
p_add_scaled :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_sub_scaled"
p_sub_scaled :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_mul"
p_mul :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_div"
p_div :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_lshift"
p_lshift :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_rshift"
p_rshift :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_fmod"
p_fmod :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_remainder"
p_remainder :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_bitand"
p_bitand :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_bitor"
p_bitor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_bitxor"
p_bitxor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaByteTensor_equal"
p_equal :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO CInt)