{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Int.TensorMasked where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorMasked.h THCudaIntTensor_maskedFill"
c_maskedFill :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaByteTensor -> CInt -> IO ()
foreign import ccall "THCTensorMasked.h THCudaIntTensor_maskedFillByte"
c_maskedFillByte :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THByteTensor -> CInt -> IO ()
foreign import ccall "THCTensorMasked.h THCudaIntTensor_maskedCopy"
c_maskedCopy :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaIntTensor -> IO ()
foreign import ccall "THCTensorMasked.h THCudaIntTensor_maskedCopyByte"
c_maskedCopyByte :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THByteTensor -> Ptr C'THCudaIntTensor -> IO ()
foreign import ccall "THCTensorMasked.h THCudaIntTensor_maskedSelect"
c_maskedSelect :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> Ptr C'THCudaByteTensor -> IO ()
foreign import ccall "THCTensorMasked.h THCudaIntTensor_maskedSelectByte"
c_maskedSelectByte :: Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> Ptr C'THByteTensor -> IO ()
foreign import ccall "THCTensorMasked.h &THCudaIntTensor_maskedFill"
p_maskedFill :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaByteTensor -> CInt -> IO ())
foreign import ccall "THCTensorMasked.h &THCudaIntTensor_maskedFillByte"
p_maskedFillByte :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THByteTensor -> CInt -> IO ())
foreign import ccall "THCTensorMasked.h &THCudaIntTensor_maskedCopy"
p_maskedCopy :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaByteTensor -> Ptr C'THCudaIntTensor -> IO ())
foreign import ccall "THCTensorMasked.h &THCudaIntTensor_maskedCopyByte"
p_maskedCopyByte :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THByteTensor -> Ptr C'THCudaIntTensor -> IO ())
foreign import ccall "THCTensorMasked.h &THCudaIntTensor_maskedSelect"
p_maskedSelect :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> Ptr C'THCudaByteTensor -> IO ())
foreign import ccall "THCTensorMasked.h &THCudaIntTensor_maskedSelectByte"
p_maskedSelectByte :: FunPtr (Ptr C'THCState -> Ptr C'THCudaIntTensor -> Ptr C'THCudaIntTensor -> Ptr C'THByteTensor -> IO ())