{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Byte.TensorMathPointwise where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_sign"
c_sign :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_clamp"
c_clamp :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> CUChar -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cross"
c_cross :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CInt -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cadd"
c_cadd :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_csub"
c_csub :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cmul"
c_cmul :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cpow"
c_cpow :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cdiv"
c_cdiv :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_clshift"
c_clshift :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_crshift"
c_crshift :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cmax"
c_cmax :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cmin"
c_cmin :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cfmod"
c_cfmod :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cremainder"
c_cremainder :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cmaxValue"
c_cmaxValue :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cminValue"
c_cminValue :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cbitand"
c_cbitand :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cbitor"
c_cbitor :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_cbitxor"
c_cbitxor :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_addcmul"
c_addcmul :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h THCudaByteTensor_addcdiv"
c_addcdiv :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_sign"
p_sign :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_clamp"
p_clamp :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> CUChar -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cross"
p_cross :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CInt -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cadd"
p_cadd :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_csub"
p_csub :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cmul"
p_cmul :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cpow"
p_cpow :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cdiv"
p_cdiv :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_clshift"
p_clshift :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_crshift"
p_crshift :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cmax"
p_cmax :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cmin"
p_cmin :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cfmod"
p_cfmod :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cremainder"
p_cremainder :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cmaxValue"
p_cmaxValue :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cminValue"
p_cminValue :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cbitand"
p_cbitand :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cbitor"
p_cbitor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_cbitxor"
p_cbitxor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_addcmul"
p_addcmul :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMathPointwise.h &THCudaByteTensor_addcdiv"
p_addcdiv :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> CUChar -> Ptr C'THCudaByteTensor -> Ptr C'THCudaByteTensor -> IO ())