Comments (8)
Already committed the C++ implementation of the first loop (a1).
from fesom2.
Done also with the second loop (a2). Committed all code, it compiles but it's not tested.
from fesom2.
Fortran refactoring has been validated on cartesius
from fesom2.
Should not the selection of using or not the GPU come from the Fortran side? I believe it's more flexible to have fesom2-accelerate making available both reference and accelerated versions of functions at the same time (also to avoid recompiling it for each test) and let the Fortran side pick which function to call, possibly in accordance with a user defined parameter.
from fesom2.
Yes the preprocessor switch should be in fesom, I checked this in yesterday evening. There is no branch for the GPU call yet though, it has yet to be inserted. And the reference code needs to be tested of course, it should be bitwise the same as the fortran code I think
from fesom2.
Agreed the first step should be to test the reference code to check if 1) we understand the code correctly, and 2) if the data sharing between the two sides work. I am also writing a code generator for the first kernel, to use kernel_tuner for the tuning.
from fesom2.
CUDA code for the first loop written and tested, now just need to include it in the C interface.
from fesom2.
CUDA code for the second loop also written, I'll write the C interface today.
from fesom2.
Related Issues (3)
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 fesom2.