{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Short.TensorSort where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorSort.h THCudaShortTensor_sortKeyValueInplace"
c_sortKeyValueInplace :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> CInt -> CInt -> IO ()
foreign import ccall "THCTensorSort.h THCudaShortTensor_sort"
c_sort :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO ()
foreign import ccall "THCTensorSort.h &THCudaShortTensor_sortKeyValueInplace"
p_sortKeyValueInplace :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> CInt -> CInt -> IO ())
foreign import ccall "THCTensorSort.h &THCudaShortTensor_sort"
p_sort :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO ())