Coder Social home page Coder Social logo

Comments (4)

c2akula avatar c2akula commented on September 24, 2024

I am skeptical of the concurrent implementation because the performance gain over the serial implementation is very small and that too in only a few cases. That means, the concurrent implementation is either incorrect, or I am looking at the results the wrong way. I'll need some guidance here.

from matrix.

c2akula avatar c2akula commented on September 24, 2024

exponential matrix consuming too much memory, ran out of 2 GB of memory within 30seconds. Input matrix size 1000x1000

from matrix.

btracey avatar btracey commented on September 24, 2024

Is this an issue or just a comment? If just a comment, in the future it would have been better to include it in the original issue asking to add Exp, or to open a thread on gonum-dev

Did you test with GOMAXPROCS set?

from matrix.

c2akula avatar c2akula commented on September 24, 2024

I haven't yet, I will do it. It's still a work in progress, I am working on optimizing the algorithm. It uses too much memory due to too many allocations. I have tried an implementation where the client allocates the inputs and the function just uses the inputs. I was able to bring down memory allocation fro 69MB to 6.5MB. for this specific function. I'll post the new benchmark once I have completed the new optimized version of the algorithm.

from matrix.

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.