-
Notifications
You must be signed in to change notification settings - Fork 1
/
sssp.cuh
30 lines (28 loc) · 1.44 KB
/
sssp.cuh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// Created by gxl on 2021/1/6.
//
#ifndef PTGRAPH_SSSP_CUH
#define PTGRAPH_SSSP_CUH
#include "common.cuh"
void conventionParticipateSSSP(uint sourceNodeSample, string ssspPath);
void ssspShare(uint sourceNodeSample, string ssspPath);
void ssspOpt(uint sourceNodeSample, string ssspPath, float adviseK);
void ssspOptSwap();
long ssspCaculateInShare(uint testNumNodes, uint testNumEdge, uint *nodePointersI, EdgeWithWeight *edgeList,
uint sourceNode);
long
ssspCaculateCommonMemoryInnerAsync(uint testNumNodes, uint testNumEdge, uint *nodePointersI, EdgeWithWeight *edgeList,
uint sourceNode, float adviseK);
long
ssspCaculateCommonMemoryInnerAsyncVisitRecord(uint testNumNodes, uint testNumEdge, uint *nodePointersI, EdgeWithWeight *edgeList,
uint sourceNode, float adviseK);
long
ssspCaculateUVM(uint testNumNodes, uint testNumEdge, uint *nodePointersI, EdgeWithWeight *edgeList,
uint sourceNode);
void ssspShareTrace(uint sourceNodeSample, string ssspPath);
long ssspCaculateInShareTrace(uint testNumNodes, uint testNumEdge, uint *nodePointersI, EdgeWithWeight *edgeList,
uint sourceNode);
long
ssspCaculateCommonMemoryInnerAsyncRandom(uint testNumNodes, uint testNumEdge, uint *nodePointersI, EdgeWithWeight *edgeList,
uint sourceNode, float adviseK);
#endif //PTGRAPH_SSSP_CUH