Documentation
¶
Index ¶
- Constants
- func CUDA_LoadOutDegree(g *CUDA_Graph, values *CUDA_PRValues, globalOutDegree []CInt)
- func GetConfigPath(partitionNum int) string
- func GetDataPath() string
- func SetDataPath(path string)
- type CComm
- type CFloat
- type CInt
- type CUDA_CCValues
- type CUDA_Graph
- type CUDA_PRValues
- type CUDA_Response
- func CUDA_CC_IncEVal(g *CUDA_Graph, values *CUDA_CCValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
- func CUDA_CC_PEVal(g *CUDA_Graph, values *CUDA_CCValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
- func CUDA_PR_IncEVal(g *CUDA_Graph, values *CUDA_PRValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
- func CUDA_PR_PEVal(g *CUDA_Graph, values *CUDA_PRValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
- func CUDA_SSSP_IncEVal(g *CUDA_Graph, values *CUDA_SSSPValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
- func CUDA_SSSP_PEVal(g *CUDA_Graph, values *CUDA_SSSPValues, startId, workerId, workerNum CInt, ...) CUDA_Response
- type CUDA_SSSPValues
Constants ¶
View Source
const ( ResultPath = "/BIGDATA1/acict_zguan_1/zpltys/graphs/generate/result/" //PatternPath = "../test_data/pattern.txt" PatternPath = "pattern.txt" GraphSimulationTypeModel = 100 RPCSendSize = 100000 ConnPoolSize = 16 MasterConnPoolSize = 2048 UseCuda = true )
Variables ¶
This section is empty.
Functions ¶
func CUDA_LoadOutDegree ¶
func CUDA_LoadOutDegree(g *CUDA_Graph, values *CUDA_PRValues, globalOutDegree []CInt)
func GetConfigPath ¶
func GetDataPath ¶
func GetDataPath() string
func SetDataPath ¶
func SetDataPath(path string)
Types ¶
type CUDA_Graph ¶
---------------graph.h----------------
func CUDA_build_graph ¶
func (*CUDA_Graph) AddMasterRoute ¶
func (g *CUDA_Graph) AddMasterRoute(masterVertex, mirrorNumber, mirrorWorkers []CInt, masterSize, mirrorWorkerSize CInt)
func (*CUDA_Graph) AddMirrorRoute ¶
func (g *CUDA_Graph) AddMirrorRoute(mirrorVertex, masterWorker []CInt, mirrorSize CInt)
func (*CUDA_Graph) GetLocalVertexSize ¶
func (g *CUDA_Graph) GetLocalVertexSize() CInt
type CUDA_Response ¶
---------------common.h----------------
func CUDA_CC_IncEVal ¶
func CUDA_CC_IncEVal(g *CUDA_Graph, values *CUDA_CCValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
func CUDA_CC_PEVal ¶
func CUDA_CC_PEVal(g *CUDA_Graph, values *CUDA_CCValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
func CUDA_PR_IncEVal ¶
func CUDA_PR_IncEVal(g *CUDA_Graph, values *CUDA_PRValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
func CUDA_PR_PEVal ¶
func CUDA_PR_PEVal(g *CUDA_Graph, values *CUDA_PRValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
func CUDA_SSSP_IncEVal ¶
func CUDA_SSSP_IncEVal(g *CUDA_Graph, values *CUDA_SSSPValues, workerId, workerNum CInt, comm *CComm) CUDA_Response
func CUDA_SSSP_PEVal ¶
func CUDA_SSSP_PEVal(g *CUDA_Graph, values *CUDA_SSSPValues, startId, workerId, workerNum CInt, comm *CComm) CUDA_Response
func (*CUDA_Response) IsEmpty ¶
func (res *CUDA_Response) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.