-
Notifications
You must be signed in to change notification settings - Fork 1
/
bfs.cuh
33 lines (26 loc) · 1.39 KB
/
bfs.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
31
32
33
//
// Created by gxl on 2020/12/30.
//
#ifndef PTGRAPH_BFS_CUH
#define PTGRAPH_BFS_CUH
#include "common.cuh"
void conventionParticipateBFS(string bfsPath, int sampleSourceNode);
void bfsShare(string bfsPath, int sampleSourceNode);
void bfsOpt(string bfsPath, int sampleSourceNode, float adviseK);
long bfsCaculateInShare(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, uint sourceNode);
long
bfsCaculateInShareReturnValue(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, uint sourceNode,
uint **bfsValue, int index);
long
bfsCaculateInAsyncNoUVMSwap(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, uint sourceNode);
long
bfsCaculateInAsyncNoUVM(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, uint sourceNode, float adviseK);
long
bfsCaculateInAsyncNoUVMVisitRecord(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, uint sourceNode,
float adviseK);
long bfsCaculateInShareTrace(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, uint sourceNode);
void bfsShareTrace(string bfsPath, int sampleSourceNode);
long
bfsCaculateInAsyncNoUVMRandom(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, uint sourceNode,
float adviseK);
#endif //PTGRAPH_BFS_CUH