Giter VIP home page Giter VIP logo

Comments (1)

fdulwich avatar fdulwich commented on August 19, 2024

Hi, thank you for your very detailed reports! I think you may be trying to allocate too much GPU memory, which is causing things to fail (although why no error was reported is a mystery, since the error codes are definitely checked in OSKAR). Unfortunately OpenCL also has a concept of a maximum allocation size, which is often a quarter of the global memory size - although this may or may not be enforced, depending on the device and the driver.

The reason I suspect a problem with the memory usage here is because the value you have set for max_sources_per_chunk is very large (1004288), and arrays will be allocated on the GPU using this value multiplied by the number of stations (512 in this case) and the Jones matrix element size (8 bytes in this case with single precision, although it could be up to 64 bytes in double precision with full polarisation. Double precision may be needed if you're using long baselines).

There is no advantage in setting max_sources_per_chunk to be larger than the sky model, and it should rarely be set to anything larger than about 100000, but it's a tunable parameter to allow runs to be optimised for different systems. Perhaps try reducing this value to (for example) 65536 and see if you get better results.

from oskar.

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.