Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU Prototype #94

Closed
wants to merge 4 commits into from
Closed

GPU Prototype #94

wants to merge 4 commits into from

Conversation

hexaeder
Copy link
Member

@hexaeder hexaeder commented Jul 6, 2021

Hey! I thought it's about time to do some GPU experiments. I have working protoype for that in GPU_network.jl.

Since our whole GraphStructure/GraphData business is really complicated to bring to the GPU memory I went for a quit different approach implementing a toymodel first. The main idea is to split the network in homogeneous parts (as with the old network layer stuff or more recently in #91 ). Once we have homogeneous subsystems, maybe we don't need a lot of the complex structure anymore.

Thats why i decided to build a minimal working prototype first which only works for homogeneous systems. This mini example supports both, CPU and GPU. I compared all calculations against NetworkDyanamics. Here are some benchmarks for the coreloop:

coreloop

And some benchmarks for a solver run with Tsit5() (around 260 timesteps).

tsit5solve

As of now the prototype can't handle autodiff, thats why i've choosen the explicit solver...

@hexaeder
Copy link
Member Author

hexaeder commented Sep 4, 2024

obsolete because of #140

@hexaeder hexaeder closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant