public class CylonContext extends Object
Modifier and Type | Method and Description |
---|---|
void |
barrier()
Synchronizes all the worker processes across the cluster on a barrier
|
static void |
barrier(int ctxId) |
static void |
finalize(int ctxId) |
void |
finalizeCtx()
Close the communication chancels and do the final memory cleanup
|
int |
getCtxId() |
int |
getRank() |
static int |
getRank(int ctxId) |
int |
getWorldSize() |
static int |
getWorldSize(int ctxId) |
static CylonContext |
init()
Loads Cylon native dependencies and initializes Cylon communication
|
public static CylonContext init()
CylonContext
public void barrier()
public void finalizeCtx()
public int getWorldSize()
public int getRank()
public static int getWorldSize(int ctxId)
public static int getRank(int ctxId)
public static void finalize(int ctxId)
public static void barrier(int ctxId)
public int getCtxId()
Copyright © 2020. All rights reserved.