-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGPUcBFS.h
More file actions
27 lines (21 loc) · 817 Bytes
/
Copy pathGPUcBFS.h
File metadata and controls
27 lines (21 loc) · 817 Bytes
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
//
// Created by yangyueji on 3/21/17.
//
#ifndef INFLUENCEMAXIMIZATIONGPU_GPUCBFS_H
#define INFLUENCEMAXIMIZATIONGPU_GPUCBFS_H
#include <vector>
#include "GPUKernels.h"
#define MAX_DEPTH 1000
namespace GPUcBFS {
void gpucBFS_expansion(std::vector<uint32_t> init_bfs_nodes,
std::vector<std::vector<uint32_t>> &nodes,
int nodeSize,
int edgeSize,
const uint32_t *dev_nodeList_raw,
const uint64_t *dev_edgeList_raw,
const uint16_t *dev_edgeProb_raw,
curandState *all_state,
unsigned int maxGrid,
unsigned int maxBlock);
};
#endif //INFLUENCEMAXIMIZATIONGPU_GPUCBFS_H