{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Int.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 THCudaIntTensor_add"
c_add :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_sub"
c_sub :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_add_scaled"
c_add_scaled :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_sub_scaled"
c_sub_scaled :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_mul"
c_mul :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_div"
c_div :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_lshift"
c_lshift :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_rshift"
c_rshift :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_fmod"
c_fmod :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_remainder"
c_remainder :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_bitand"
c_bitand :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_bitor"
c_bitor :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_bitxor"
c_bitxor :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPairwise.h THCudaIntTensor_equal"
c_equal :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> IO CInt
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_add"
p_add :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_sub"
p_sub :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_add_scaled"
p_add_scaled :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_sub_scaled"
p_sub_scaled :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_mul"
p_mul :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_div"
p_div :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_lshift"
p_lshift :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_rshift"
p_rshift :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_fmod"
p_fmod :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_remainder"
p_remainder :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_bitand"
p_bitand :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_bitor"
p_bitor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_bitxor"
p_bitxor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPairwise.h &THCudaIntTensor_equal"
p_equal :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> IO CInt)