{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Short.TensorRandom where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorRandom.h THCudaShortTensor_random"
c_random :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO ()
foreign import ccall "THCTensorRandom.h THCudaShortTensor_clampedRandom"
c_clampedRandom :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> CLLong -> CLLong -> IO ()
foreign import ccall "THCTensorRandom.h THCudaShortTensor_cappedRandom"
c_cappedRandom :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> CLLong -> IO ()
foreign import ccall "THCTensorRandom.h THCudaShortTensor_bernoulli"
c_bernoulli :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> CDouble -> IO ()
foreign import ccall "THCTensorRandom.h THCudaShortTensor_bernoulli_DoubleTensor"
c_bernoulli_DoubleTensor :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaDoubleTensor -> IO ()
foreign import ccall "THCTensorRandom.h THCudaShortTensor_geometric"
c_geometric :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> CDouble -> IO ()
foreign import ccall "THCTensorRandom.h &THCudaShortTensor_random"
p_random :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaShortTensor_clampedRandom"
p_clampedRandom :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> CLLong -> CLLong -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaShortTensor_cappedRandom"
p_cappedRandom :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> CLLong -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaShortTensor_bernoulli"
p_bernoulli :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> CDouble -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaShortTensor_bernoulli_DoubleTensor"
p_bernoulli_DoubleTensor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaDoubleTensor -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaShortTensor_geometric"
p_geometric :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> CDouble -> IO ())