-
Notifications
You must be signed in to change notification settings - Fork 1
/
cc.cuh
21 lines (20 loc) · 1020 Bytes
/
cc.cuh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// Created by gxl on 2021/1/5.
//
#ifndef PTGRAPH_CC_CUH
#define PTGRAPH_CC_CUH
#include "common.cuh"
void conventionParticipateCC(string ccPath);
void ccShare(string ccPath);
void ccOpt(string ccPath, float adviseK);
void ccOptSwap();
long ccCaculateInShare(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList);
long ccCaculateCommonMemoryInnerAsync(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList, float adviseK);
void conventionParticipateCCInLong();
long ccCaculateCommonMemoryInnerAsyncRecordVisit(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList,
float adviseK);
long ccCaculateInShareTrace(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList);
void ccShareTrace(string ccPath);
long ccCaculateCommonMemoryInnerAsyncRandom(uint testNumNodes, uint testNumEdge, uint *nodePointersI, uint *edgeList,
float adviseK);
#endif //PTGRAPH_CC_CUH