Giter Club home page Giter Club logo

Comments (4)

stoiver avatar stoiver commented on July 29, 2024

@samcom12 good idea. I have been thinking about this as well. The first step I think is to convert the inner timestepping procedures to cython C and then invoking openmp in the various expensive procedures. Hopefully we could then move over to offloading to the GPU.

from anuga_core.

samcom12 avatar samcom12 commented on July 29, 2024

Thanks @stoiver .
I just tried profiling for offloading benefits with sample rectangular testcase. The results are promising showing almost 4X speedup which can further increase with real datasets we are using.

You can refer the attached report.
offload_model.tar.gz

from anuga_core.

stoiver avatar stoiver commented on July 29, 2024

@samcom12, the results look promising. It is good that the offload advisor just picks up 2 procedures, _compute_fluxes_central and _extrapolate_second_order_edge_sw to look at. I think it also suggests that we should look at just using standard openmp on those two procedures. Does intel have an advisor for studying likely improvement using openmp?

from anuga_core.

samcom12 avatar samcom12 commented on July 29, 2024

Hello @stoiver

There is a tool which converts serial C,C++, and Fortran code to OpenMP based code.

http://rosecompiler.org/

And, with Intel VTune we can do threading analysis to see how effectively threads are being used in the code.

https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/parallelism-analysis-group/threading-analysis.html

from anuga_core.

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.