Giter Site home page Giter Site logo

Transfer observations about galario HOT 2 CLOSED

mtazzari avatar mtazzari commented on August 25, 2024
Transfer observations

from galario.

Comments (2)

mtazzari avatar mtazzari commented on August 25, 2024

That's a very good point! I have already thought to do that, but I was unsure where/how we could store and then access the data from different processes on GPU (->Unified Memory?).

This feature could be released in a future release.

Within a single fit, single-wavelength this feature could be beneificial, but I see a potential issue when we run a multi-wavelength fit. Then, for each likelihood computation, we have several calls (one for each wavelength) to galario.sample() or galario.chi2() with different urot, vrot, fobs_re, fobs_im.
The currently implemented approach requires MemcpyH2D() these arrays all the times, but it is self-contained: each sample() or chi2() call has all the data it needs and frees the space immediately afterwards. With the proposed feature, it is possible that the space required to store these multi-wavelength static arrays is too large. Anyway, I guess it would depend on:

  • the total GPU RAM available
  • the number of processes using the GPU.
  • the size of the observational data

from galario.

mtazzari avatar mtazzari commented on August 25, 2024

We will not support this because we don't want to handle runtime memory management on the GPU.

from galario.

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.