-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
After running with a simple graph,a segmentation fault occurred
check the graph.cu I found that in line 156
uint *outDegreeCounter = new uint[num_nodes];
uint location;
for(uint i=0; i<num_edges; i++)
{
location = nodePointer[edges[i].source] + outDegreeCounter[edges[i].source];
edgeList[location].end = edges[i].end;
//if(isWeighted)
// edgeList[location].w8 = edges[i].w8;
outDegreeCounter[edges[i].source]++;
}
The outDegreeCounter array should be initialized
Metadata
Metadata
Assignees
Labels
No labels