Giter VIP home page Giter VIP logo

Comments (10)

nquesada avatar nquesada commented on May 27, 2024

A second improvement would be to find a way to parallelize the loop in line

for (ullint jj = 0; jj < Hdim-1; jj++) {
.

This might require a nontrivial amount of algorithmic thinking since this loop implements a recursion relation.

from thewalrus.

nquesada avatar nquesada commented on May 27, 2024

Finally, it would also be interesting to think about porting this part of the code to numba.

from thewalrus.

TripleRD avatar TripleRD commented on May 27, 2024

Hi @nquesada, I didn't get the second improvement you proposed. Can you elaborate on it? Thanks!

from thewalrus.

nquesada avatar nquesada commented on May 27, 2024

I just meant, to write an implementation of Hermite multidimensional in numba.

from thewalrus.

TripleRD avatar TripleRD commented on May 27, 2024

A second improvement would be to find a way to parallelize the loop in line

for (ullint jj = 0; jj < Hdim-1; jj++) {

.
This might require a nontrivial amount of algorithmic thinking since this loop implements a recursion relation.

I was referring to this comment, can you elaborate on it? Thanks!

from thewalrus.

co9olguy avatar co9olguy commented on May 27, 2024

Hi @TripleR47, the idea here is to use numba to replace that line (a serial for loop) with a parallelized version

from thewalrus.

nquesada avatar nquesada commented on May 27, 2024

To add to @co9olguy : the challenge is that the for loop in line 114 is very long (dimensions Hdim) and implements a recursion relation, where the next element is calculated based on the values of previous ones. My comment is just to highlight that breaking a parallelzing a recursive loop might be non-trivial!

from thewalrus.

e-eight avatar e-eight commented on May 27, 2024

Would love to take a stab at this. Okay if I work on this?

from thewalrus.

co9olguy avatar co9olguy commented on May 27, 2024

Hi @e-eight, yes this issue is still open. Feel free to tackle it if interested :)

from thewalrus.

e-eight avatar e-eight commented on May 27, 2024

Alright. Will give it a shot.

from thewalrus.

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.