Comments (4)
@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.
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.
@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.
Hello @stoiver
There is a tool which converts serial C,C++, and Fortran code to OpenMP based code.
And, with Intel VTune we can do threading analysis to see how effectively threads are being used in the code.
from anuga_core.
Related Issues (20)
- Reduce Memory usage HOT 5
- Bug in logging
- Get parallel_rectangle working again
- Add Support for Mean with SWW2DEM HOT 1
- Add support for conversion CSV -> GPKG HOT 2
- Add support for conversion GPKG -> CSV
- ENH: plan to support deprecated distutils in python-3.12 HOT 1
- Parallel Distribute copies vertex values
- run_open_slot_wide_bridge.py not working HOT 1
- need a better riverwall example HOT 3
- error in run_set_stage.py HOT 1
- AttributeError: 'GPU_interface' object has no attribute 'extrapolate_kernel1'
- Is reading from array of Q available for Inlet_operator()? HOT 1
- Error in "import anuga" HOT 2
- anuga has a read grid coding error while running on linux HOT 5
- Rate operator bug HOT 2
- Inlet operator bug HOT 3
- culvert operator new unit test HOT 1
- No module named 'numpy.lib.arraysetops' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anuga_core.