Git Product home page Git Product logo

hpx-kokkos's People

Contributors

g-071 avatar msimberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

hpx-kokkos's Issues

executor_test failing with CUDA build

The executor_test fails for me when building hpx-kokkos with CUDA and running ctest.

To be more specific, the test fails on line

HPX_KOKKOS_DETAIL_TEST(argument_passthrough_host(i) == 42);

I've checked, and it is during the tests with the cuda executor (calling the same test method with the default host executor later in the test works fine). From what I can see, the 42 in line is not copied to the device properly, causing passthrough in the lambda to be 0 instead of 42 (verified by a printf inside the lambda).

I quickly tested having a local passthrough2 = 42 variable (declared at the beginning of the test method) which is then captured by the lambda and correctly copied to the device. Using this instead of the argument passthrough makes the test pass (simply done to verify that this is the only thing going wrong in the test).

The underlying issue seems to be that the pass-through to the device fails (at least for my build).

Utilized versions:

  • hpx-kokkos master
  • HPX 1.6.0
  • Kokkos 3.3.01
  • nvcc (with gcc 9.3.0 and CUDA 11.2)

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.