Code Monkey home page Code Monkey logo

subway's People

Contributors

amirnodehi avatar automatalab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

subway's Issues

Cannot processes graphs with |E| > 2**32

Hi,

Throughout your entire code, you use uint to represent your pointers to the edges.
I was attempting to preprocess an RMAT dataset similar to how you have in the paper and the preprocessing causes the graph to have a mere 5GB of memory.

little bug

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

error

After make, run the instruction. / bfs-sync -- input. / edge_ 875713.el

The tips are as follows:
Reading the input graph from the following file:

    ./edge_875713.el
    Done reading.
    Number of nodes = 875713
    Number of edges = 9238952
    Graph Reading finished in 1.80066 (s).
    GPUassert: out of memory subgraph.cu 40

Why is it out of memory

Off-By-One Error in Subgraph Generation

On line 75 in subgraph_generator.cu, ceil() is useless with integer division.
Should be unsigned int chunkSize = (unsigned int)ceil((double)numActiveNodes / numThreads);

Results in not copying some data to the edge array, sending the old values to the kernel which results in undefined behavior; usually erroneous values in the last .01% of the nodes (but can propagate through the rest of the graph).

When can we see the project source code?

Dear author of Subway,
Hi, I am reading your article these days and want to see the source code to deepen understanding. In your readme, you promised the source code will be posted around mid-May, but May is coming to an end. I would appreciate it if you can reply me in this issue. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.