Coder Social home page Coder Social logo

Comments (7)

vladotomov avatar vladotomov commented on June 11, 2024

Hi @sungho91, I just merged #180. Try again and let me know. Higher orders can be added similarly.

from laghos.

sungho91 avatar sungho91 commented on June 11, 2024

@vladotomov, thank you for your comment. I added those lines, and Laghos worked well.

For Q5Q4: {0x26A, &ForceMult2D<2,6,10,5>} and {0x2A, &QKernel<2,10>}
For Q6Q5: {0x27C, &ForceMult2D<2,7,12,6>} and {0x2C, &QKernel<2,12>}
For Q7Q6: {0x28E, &ForceMult2D<2,8,14,7>} and {0x2E, &QKernel<2,14>}

So, for Q8Q7, it should be: {0x29G, &ForceMult2D<2,9,16,8>} and {0x2G, &QKernel<2,16>}.

However, I encountered an error when I tried to build Laghos: "unable to find numeric literal operator ‘operator""G’".
This means I should use different identifiers. Also, can you explain to me what those numbers represent?

The "2" seems to represent dimension but the others look related to the degree of polynomial but I don't know them exactly.

from laghos.

vladotomov avatar vladotomov commented on June 11, 2024

These 0x* ids are hexidecimal numbers, so they go up to F, there is no G.

from laghos.

vladotomov avatar vladotomov commented on June 11, 2024

@sungho91 you can put any id you want to test things, just make sure it doesn't overlap with another one. I guess we didn't expect we would need more than 16 kernels for a given dimension.

from laghos.

sungho91 avatar sungho91 commented on June 11, 2024

@vladotomov, I see. Did you mean that Laghos is not allowed to use Q8Q7 because this Q8Q7 requires 16 kernels?

from laghos.

vladotomov avatar vladotomov commented on June 11, 2024

I didn't mean that. You can run Q8Q7 - just put any id that's not already used. For example 0x2B is not used. Or just put a 1000, doesn't matter much.

from laghos.

sungho91 avatar sungho91 commented on June 11, 2024

@vladotomov, thank you for clarifying it. Laghos runs correctly with Q8Q7 in 2D.

from laghos.

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.