{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Long.TensorMath where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorMath.h THCudaLongTensor_fill"
c_fill :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLong -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_zero"
c_zero :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_zeros"
c_zeros :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THLongStorage -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_zerosLike"
c_zerosLike :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_ones"
c_ones :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THLongStorage -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_onesLike"
c_onesLike :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_reshape"
c_reshape :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> Ptr C'THLongStorage -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_numel"
c_numel :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> IO CPtrdiff
foreign import ccall "THCTensorMath.h THCudaLongTensor_cat"
c_cat :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CInt -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_catArray"
c_catArray :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr (Ptr C'THCudaLongTensor) -> CInt -> CInt -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_nonzero"
c_nonzero :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_tril"
c_tril :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CLLong -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_triu"
c_triu :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CLLong -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_diag"
c_diag :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CLLong -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_eye"
c_eye :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLLong -> CLLong -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_trace"
c_trace :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> IO CLong
foreign import ccall "THCTensorMath.h THCudaLongTensor_range"
c_range :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLong -> CLong -> CLong -> IO ()
foreign import ccall "THCTensorMath.h THCudaLongTensor_arange"
c_arange :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLong -> CLong -> CLong -> IO ()
foreign import ccall "THCTensorMath.h &THCudaLongTensor_fill"
p_fill :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLong -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_zero"
p_zero :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_zeros"
p_zeros :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THLongStorage -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_zerosLike"
p_zerosLike :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_ones"
p_ones :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THLongStorage -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_onesLike"
p_onesLike :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_reshape"
p_reshape :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> Ptr C'THLongStorage -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_numel"
p_numel :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> IO CPtrdiff)
foreign import ccall "THCTensorMath.h &THCudaLongTensor_cat"
p_cat :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CInt -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_catArray"
p_catArray :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr (Ptr C'THCudaLongTensor) -> CInt -> CInt -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_nonzero"
p_nonzero :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_tril"
p_tril :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CLLong -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_triu"
p_triu :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CLLong -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_diag"
p_diag :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaLongTensor -> CLLong -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_eye"
p_eye :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLLong -> CLLong -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_trace"
p_trace :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> IO CLong)
foreign import ccall "THCTensorMath.h &THCudaLongTensor_range"
p_range :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLong -> CLong -> CLong -> IO ())
foreign import ccall "THCTensorMath.h &THCudaLongTensor_arange"
p_arange :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> CLong -> CLong -> CLong -> IO ())