Git Product home page Git Product logo

reproducible_floating_sums's People

Contributors

r-barnes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

reproducible_floating_sums's Issues

License status?

Thank you for this work, it is a great demonstration of the reproducible summation algorithms.

The license of this source code doesn't seem to be specified. Would the author consider making this work available under a BSD / MIT / Apache license?

Thanks

Any plans to replace PyTorch's CPU `sum` implementation with one of these?

Hello, I'm just curious if there are any plans to replace PyTorch's CPU SumKernel implementation for floating point types (which uses pairwise summation) with one of these?

I'm yet to test them but am curious as to how well they perform with multiple threads, and if they have better accuracy than pairwise summation.

Thank you!

binned_dmdmadd function is buggy

Having finally gotten around to hacking on this code, to port it to CUDA, while I've got an initial single thread version that passes the tests ok, in moving to a multi-thread reduction, I've found that the binned_dmdmadd function, used to sum two instances of ReproducibleFloatingAccumulator is buggy.

Specifically, when instantiated, it doesn't compile because:

  • The function attempts to modify the other reference, which is const qualified, e.g.
priY[i*incpriY] = priX[i*incpriX];
  • These lines are erroneous, since they attempt to pass an argument to a function that expects none
const auto X_index = binned_index(priX);
const auto Y_index = binned_index(priY);

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.