{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Half where

import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC

-- | c_THC_nativeHalfInstructions :  state -> int
foreign import ccall "THCHalf.h THC_nativeHalfInstructions"
  c_THC_nativeHalfInstructions :: Ptr C'THCState -> IO CInt

-- | c_THC_fastHalfInstructions :  state -> int
foreign import ccall "THCHalf.h THC_fastHalfInstructions"
  c_THC_fastHalfInstructions :: Ptr C'THCState -> IO CInt

-- | p_THC_nativeHalfInstructions : Pointer to function : state -> int
foreign import ccall "THCHalf.h &THC_nativeHalfInstructions"
  p_THC_nativeHalfInstructions :: FunPtr (Ptr C'THCState -> IO CInt)

-- | p_THC_fastHalfInstructions : Pointer to function : state -> int
foreign import ccall "THCHalf.h &THC_fastHalfInstructions"
  p_THC_fastHalfInstructions :: FunPtr (Ptr C'THCState -> IO CInt)