-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from CliMA/gb/move_to_ext
Move MPI and CUDA to Julia extensions
- Loading branch information
Showing
17 changed files
with
882 additions
and
1,003 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ClimaComms.jl Release Notes | ||
======================== | ||
|
||
v0.6.0 | ||
------- | ||
|
||
- ![][badge-💥breaking] `ClimaComms` does no longer try to guess the correct | ||
compute device: the default is now CPU. To control which device to use, | ||
use the `CLIMACOMMS_DEVICE` environment variable. | ||
- ![][badge-💥breaking] `CUDA` and `MPI` are now extensions in `ClimaComms`. To | ||
use `CUDA`/`MPI`, `CUDA.jl`/`MPI.jl` have to be loaded. A convenience macro | ||
`ClimaComms.@import_required_backends` checks what device/context could be | ||
used and conditionally loads `CUDA.jl`/`MPI.jl`. It is recommended to change | ||
```julia | ||
import ClimaComms | ||
``` | ||
to | ||
```julia | ||
import ClimaComms | ||
ClimaComms.@import_required_backends | ||
``` | ||
This has to be done before calling `ClimaComms.context()`. | ||
|
||
[badge-💥breaking]: https://img.shields.io/badge/💥BREAKING-red.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,17 @@ authors = [ | |
"Jake Bolewski <[email protected]>", | ||
"Gabriele Bozzola <[email protected]>", | ||
] | ||
version = "0.5.8" | ||
version = "0.6.0" | ||
|
||
[deps] | ||
[weakdeps] | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" | ||
|
||
[extensions] | ||
ClimaCommsCUDAExt = "CUDA" | ||
ClimaCommsMPIExt = "MPI" | ||
|
||
[compat] | ||
CUDA = "3, 4, 5" | ||
MPI = "0.20.18" | ||
julia = "1.8" | ||
julia = "1.9" |
Oops, something went wrong.
a22e4ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
a22e4ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/105780
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: