Code Monkey home page Code Monkey logo

Comments (7)

jszuppe avatar jszuppe commented on June 7, 2024

I'll look into it.

from rocprim.

jszuppe avatar jszuppe commented on June 7, 2024

Does the same thing happen with rocPRIM?

from rocprim.

ntrost57 avatar ntrost57 commented on June 7, 2024

No, does not happen with rocPRIM.

from rocprim.

jszuppe avatar jszuppe commented on June 7, 2024

We identified the problem: for some reasons in said configuration (linking to a dynamic library that uses hipcub if I use hipcub also in the main program) every kernel is run twice by HIP framework. Some kernels are resistant to that, some are not (access errors). We are not sure why it happens only for hipCUB.

Right now we are thinking that probably in here should be a break after hipModuleLaunchKernel().

from rocprim.

jszuppe avatar jszuppe commented on June 7, 2024

Here are HIP API traces for correct and incorrect (with bug) execution, where we can clearly the difference.

bug_hiptrace.txt
correct_hiptrace.txt

from rocprim.

jszuppe avatar jszuppe commented on June 7, 2024

I guess we should open issue in HIP repo.

from rocprim.

jszuppe avatar jszuppe commented on June 7, 2024

Should be fixed by ROCm/HIP#575. I don't know which ROCm release will include that.

from rocprim.

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.