Giter VIP home page Giter VIP logo

Comments (4)

serge-sans-paille avatar serge-sans-paille commented on June 12, 2024

Thanks for the bug report! Can you share a minimal c++ input that fails?
I'd also be interested in the output of g++ -v [extra flags] failing_input.cpp

from xsimd.

casparvl avatar casparvl commented on June 12, 2024

Thanks for the fast response. I'd love to provide a minimal c++ input, maybe you can help me create one since I'm unfamiliar with xsimd... The call where it fails is this one. Can you give me a minimal piece of code that would trigger this dispatcher.apply(...) call? I found https://xsimd.readthedocs.io/en/latest/api/dispatching.html but the code snippet there is not a fully contained example. I think the only thing it is lacking is to provide it with some actual data object before calling float res = dispatched(data, 17), but wasn't sure what that data object should be exactly... If you could help me with turning that into a fully contained example, I can try running it, and I'm giving it a 9/10 chance that will trigger the bug.

Regarding the -v run: let's try that minimal example first, see if we can get rid of the complexity of all the related code. The -v for that will probably be much cleaner.

from xsimd.

serge-sans-paille avatar serge-sans-paille commented on June 12, 2024

This looks like the right reproducer: https://godbolt.org/z/E4KxKqcMP
I'll investigate some more

from xsimd.

casparvl avatar casparvl commented on June 12, 2024

Good thinking on using godbolt for this, that was much quicker than going back and forth with me trying out a compilation natively :) Thanks for investigating this and the quick fix!

from xsimd.

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.