Code Monkey home page Code Monkey logo

Comments (3)

1duo avatar 1duo commented on May 16, 2024

This issue might not related to cub sort actually. Some invalid reads are reported by memcheck. And the answers are not always correct even for the undirected graph, need to check in details.

from gunrock.

sashkiani avatar sashkiani commented on May 16, 2024

@ydwu Could you fix this? On a different topic, I'm having exactly the same error in my code using CUB.
I just realized that whenever I include thrust/sort.h in my code as well, I get this error. By not including that, everything looks fine and works perfectly.

from gunrock.

1duo avatar 1duo commented on May 16, 2024

Hi @sashkiani, this problem was originally observed running bin/pagerank market directed_graph.mtx, but now I actually cannot reproduce the same issue when I switch back using CUB's sort (for safety I changed it to mgpu::sort in current master branch). Changing pr_enactor.cuh L393 back to:

util::CUBRadixSort<Value, VertexId>(
        false, graph_slice->nodes,
        problem->data_slices[0]->d_rank_curr,
        problem->data_slices[0]->d_node_ids);

Running bin/pagerank does not incur any problem for all datasets we have. I guess it was fixed somehow near commit e7dbca5 but not sure why.

Wired enough though, I did more tests and observe that in gunrock simple interface test if I run BFS and/or BC before calling PageRank, this error will occur, but other two primitives SSSP and CC does not have any impact. However, if I comment out L29 and L30, this error disappear. In my case, I did't include any other library such as thrust/sort.h, and I didn't touch any input of PageRank function call, can you find any connections with your situation?

Also I recall that "CUDA error 9" is possibly because of CUDA launch kernel parameter settings.

from gunrock.

Related Issues (20)

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.