Skip to content

Disable shmem + update patch version > 0.14.32 #2317

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

Merged
merged 2 commits into from
May 2, 2025
Merged

Conversation

akshaysridhar
Copy link
Member

@akshaysridhar akshaysridhar commented May 1, 2025

The following performance regression was noticed when upgrading to ClimaCore v0.14.31 in ClimaAtmos, with additional information here (#2304 (comment)). This PR disables shmem for finite diff ops in an attempt to recover a large chunk of this perf loss.

CC v 0.14.30 
https://github.com/CliMA/ClimaCore.jl/pull/2304#issuecomment-2839688639
1 GPU Aquaplanet: 0.694
2 GPU Aquaplanet: 1.358 

CC v 0.14.31
https://github.com/CliMA/ClimaCore.jl/pull/2304#issuecomment-2839688639
1 GPU Aquaplanet: 0.503
2 GPU Aquaplanet: 1.005

CC v 0.14.31 + Disable shmem 
Operators.use_fd_shmem() = false
1 GPU Aquaplanet: 0.611
2 GPU Aquaplanet: 1.285

Akshay Sridhar added 2 commits May 1, 2025 15:44
	modified:   src/Operators/finitedifference.jl
@akshaysridhar akshaysridhar changed the title Disable shmem Disable shmem + update patch version > 0.14.32 May 1, 2025
@trontrytel trontrytel merged commit 2c875b0 into main May 2, 2025
35 checks passed
@trontrytel trontrytel deleted the as/revert-shmem branch May 2, 2025 00:14
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.

3 participants