Safe Haskell | None |
---|---|
Language | Haskell2010 |
- c_rabitInit :: Int32 -> StringArray -> IO ()
- c_rabitFinalize :: IO ()
- c_rabitGetRank :: IO Int32
- c_rabitGetWorldSize :: IO Int32
- c_rabitIsDistributed :: IO Int32
- c_rabitTrackerPrint :: StringPtr -> IO ()
- c_rabitGetProcessorName :: StringPtr -> Ptr CULong -> CULong -> IO ()
- c_rabitBroadcast :: Ptr a -> CULong -> Int32 -> IO ()
- c_rabitAllreduce :: Ptr a -> CSize -> Int32 -> Int32 -> Ptr () -> Ptr () -> IO ()
- c_rabitLoadCheckPoint :: Ptr StringPtr -> Ptr CULong -> Ptr StringPtr -> Ptr CULong -> IO Int32
- c_rabitCheckPoint :: StringPtr -> CULong -> StringPtr -> CULong -> IO ()
- c_rabitVersionNumber :: IO Int32
- c_rabitLinkTag :: IO Int32
- rabitInit :: [String] -> IO ()
- rabitFinalize :: IO ()
- rabitGetRank :: IO Int32
- rabitGetWordSize :: IO Int32
- rabitIsDistributed :: IO Bool
- rabitTrackerPrint :: String -> IO ()
- rabitGetProcessorName :: IO String
- rabitBoradcast :: Ptr a -> Int32 -> Int32 -> IO ()
- data AllreduceOpType
- = KMax
- | KMin
- | KSum
- | KBitwiseOR
- data AllreduceDataType
- rabitAllreduce :: Ptr a -> Int32 -> AllreduceDataType -> AllreduceOpType -> IO ()
- rabitVersionNumber :: IO Int32
- rabitLinkTag :: IO Int32
Documentation
c_rabitInit :: Int32 -> StringArray -> IO () Source #
c_rabitFinalize :: IO () Source #
c_rabitGetRank :: IO Int32 Source #
c_rabitTrackerPrint :: StringPtr -> IO () Source #
c_rabitLoadCheckPoint :: Ptr StringPtr -> Ptr CULong -> Ptr StringPtr -> Ptr CULong -> IO Int32 Source #
c_rabitLinkTag :: IO Int32 Source #
rabitFinalize :: IO () Source #
rabitGetRank :: IO Int32 Source #
rabitTrackerPrint :: String -> IO () Source #
data AllreduceOpType Source #
data AllreduceDataType Source #
:: Ptr a | buffer for both sending and recving data |
-> Int32 | number of elements to be reduced |
-> AllreduceDataType | |
-> AllreduceOpType | |
-> IO () |
rabitLinkTag :: IO Int32 Source #