xgboost-haskell-0.1.0.0: XGBoost library for Haskell.

Safe HaskellNone
LanguageHaskell2010

ML.DMLC.XGBoost.Rabit.FFI

Synopsis

Documentation

c_rabitInit :: Int32 -> StringArray -> IO () Source #

c_rabitTrackerPrint :: StringPtr -> IO () Source #

c_rabitAllreduce :: Ptr a -> CSize -> Int32 -> Int32 -> Ptr () -> Ptr () -> IO () Source #

c_rabitLoadCheckPoint :: Ptr StringPtr -> Ptr CULong -> Ptr StringPtr -> Ptr CULong -> IO Int32 Source #

c_rabitCheckPoint :: StringPtr -> CULong -> StringPtr -> CULong -> IO () Source #

rabitBoradcast Source #

Arguments

:: Ptr a

the pointer to send or recive buffer.

-> Int32

the size of data

-> Int32

the root of process

-> IO () 

rabitAllreduce Source #

Arguments

:: Ptr a

buffer for both sending and recving data

-> Int32

number of elements to be reduced

-> AllreduceDataType 
-> AllreduceOpType 
-> IO ()