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 compilation error in rayleigh_sponge_cache #2158

Closed
sriharshakandala opened this issue Sep 25, 2023 · 4 comments · Fixed by #2180
Closed

GPU compilation error in rayleigh_sponge_cache #2158

sriharshakandala opened this issue Sep 25, 2023 · 4 comments · Fixed by #2180

Comments

@sriharshakandala
Copy link
Member

sriharshakandala commented Sep 25, 2023

GPU compilation for the moist Held-Suarez simulation generates a compilation error in rayleigh_sponge_cache. The full error message can be found here: https://buildkite.com/clima/climaatmos-target-gpu-simulations/builds/71#018acda7-0c93-48d9-881e-90c321d2b525
cc: @simonbyrne

@simonbyrne
Copy link
Member

@sriharshakandala can you get it down to a reproducible example?

@charleskawczynski
Copy link
Member

.f is of type Type{Float32} which is not isbits.

I'm pretty sure we're just running into CliMA/ClimaCore.jl#1372

@simonbyrne
Copy link
Member

I would have though that this would have been fixed by JuliaGPU/CUDA.jl#2000, but maybe it's not in the version of CUDA.jl we're using.

@simonbyrne
Copy link
Member

We can use the $(FT(0))) trick for now

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 a pull request may close this issue.

3 participants