tools

package
v0.0.0-...-2cd2062 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 GetConfigPath(partitionNum int) string

func GetDataPath

func GetDataPath() string

func SetDataPath

func SetDataPath(path string)

Types

type CComm

type CComm C.Comm

type CFloat

type CFloat C.float

type CInt

type CInt C.int

type CUDA_CCValues

type CUDA_CCValues C.CCValues

---------------cc.h----------------

type CUDA_Graph

type CUDA_Graph C.Graph

---------------graph.h----------------

func CUDA_build_graph

func CUDA_build_graph(globalVertexSize, edgeSize CInt, u, v []CInt, workerId int, workerNum int, comm *CComm) *CUDA_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_PRValues

type CUDA_PRValues C.PRValues

---------------pr.h----------------

type CUDA_Response

type CUDA_Response C.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

type CUDA_SSSPValues

type CUDA_SSSPValues C.SSSPValues

---------------sssp.h----------------

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL