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

Add CUDA support to growth.jl settler_cover #739

Open
arlowhite opened this issue Apr 15, 2024 · 1 comment
Open

Add CUDA support to growth.jl settler_cover #739

arlowhite opened this issue Apr 15, 2024 · 1 comment
Assignees

Comments

@arlowhite
Copy link
Collaborator

Takuya has seen ~250x speedup experimenting with GPU support here.

Code should use CuArray automatically if within a GPU environment.

@arlowhite arlowhite self-assigned this Apr 15, 2024
@ConnectedSystems
Copy link
Collaborator

ConnectedSystems commented Apr 15, 2024

image

image

Potential x270 improvement (2.100805 / 0.00777 = 270)

The 75 iterations is a proxy for the number of time steps being simulated.

In practice the difference may not so large, particularly as we're not looking at all reefs (we subset to only those that are source/sink locations), but worth a crack.

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

No branches or pull requests

2 participants