hasktorch-ffi-thc-0.0.1.0: src/Torch/FFI/THC/TensorMath.hs
{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.TensorMath where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
-- | c_THCudaByteTensor_logicalall : state self -> int
foreign import ccall "THCTensorMath.h THCudaByteTensor_logicalall"
c_THCudaByteTensor_logicalall :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> IO CInt
-- | c_THCudaByteTensor_logicalany : state self -> int
foreign import ccall "THCTensorMath.h THCudaByteTensor_logicalany"
c_THCudaByteTensor_logicalany :: Ptr C'THCState -> Ptr C'THCudaByteTensor -> IO CInt
-- | p_THCudaByteTensor_logicalall : Pointer to function : state self -> int
foreign import ccall "THCTensorMath.h &THCudaByteTensor_logicalall"
p_THCudaByteTensor_logicalall :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> IO CInt)
-- | p_THCudaByteTensor_logicalany : Pointer to function : state self -> int
foreign import ccall "THCTensorMath.h &THCudaByteTensor_logicalany"
p_THCudaByteTensor_logicalany :: FunPtr (Ptr C'THCState -> Ptr C'THCudaByteTensor -> IO CInt)