-
Notifications
You must be signed in to change notification settings - Fork 22
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 #43 from ecmwf-ifs/nabr-release-1.4
Release 1.4.0
- Loading branch information
Showing
75 changed files
with
21,125 additions
and
315 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
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 |
---|---|---|
|
@@ -60,6 +60,29 @@ Balthasar Reuter ([email protected]) | |
move parameter structures to constant memory. To enable this variant, | ||
a suitable CUDA installation is required and the `--with-cuda` flag | ||
needs to be passed at the build stage. | ||
- **dwarf-cloudsc-gpu-scc-cuf-k-caching**: GPU-enabled and further | ||
optimized version of CLOUDSC that uses the SCC loop layout in | ||
combination with loop fusion and temporary local array demotion, implemented | ||
using CUDA-Fortran (CUF). To enable this variant, | ||
a suitable CUDA installation is required and the `--with-cuda` flag | ||
needs to be passed at the build stage. | ||
- **CUDA C prototypes**: To enable these variants, a suitable | ||
CUDA installation is required and the `--with-cuda` flag needs | ||
to be pased at the build stage. | ||
- **dwarf-cloudsc-cuda**: GPU-enabled, CUDA C version of CLOUDSC. | ||
- **dwarf-cloudsc-cuda-hoist**: GPU-enabled, optimized CUDA C version | ||
of CLOUDSC including host side hoisted temporary local variables. | ||
- **dwarf-cloudsc-cuda-k-caching**: GPU-enabled, further optimized CUDA | ||
C version of CLOUDSC including loop fusion and temporary local | ||
array demotion. | ||
- **dwarf-cloudsc-gpu-scc-field**: GPU-enabled and optimized version of | ||
CLOUDSC that uses the SCC loop layout, and a dedicated Fortran FIELD | ||
API to manage device offload and copyback. The intent is to demonstrate | ||
the explicit use of pinned host memory to speed-up data transfers, as | ||
provided by the shipped prototype implmentation, and investigate the | ||
effect of different data storage allocation layouts. To enable this | ||
variant, a suitable CUDA installation is required and the | ||
`--with-cuda` flag needs to be passed at the build stage. | ||
|
||
## Download and Installation | ||
|
||
|
@@ -249,6 +272,27 @@ srun bash -c "CUDA_VISIBLE_DEVICES=\$SLURM_LOCALID bin/dwarf-cloudsc-gpu-scc-hoi | |
|
||
In principle, the same should work for multi-node execution (`-N 2`, `-N 4` etc.) once interconnect issues are resolved. | ||
|
||
### GPU runs: Timing device kernels and data transfers | ||
|
||
For GPU-enabled runs two internal timer results are reported: | ||
|
||
* The isolated compute time of the main compute kernel on device (where `#BLKS == 1`) | ||
* The overall time of the execution loop including data offload and copyback | ||
|
||
It is important to note that due to the nature of the kernel, data | ||
transfer overheads will dominate timings, and that most supported GPU | ||
variants aim to optimise compute kernel timings only. However, a | ||
dedicated variant `dwarf-cloudsc-gpu-scc-field` has been added to | ||
explore host-side memory pinning, which improves data transfer times | ||
and alternative data layout strategies. By default, this will allocate | ||
each array variable individually in pinned memory. A runtime flag | ||
`CLOUDSC_PACKED_STORAGE=ON` can be used to enable "packed" storage, | ||
where multiple arrays are stored in a single base allocation, eg. | ||
|
||
```sh | ||
NV_ACC_CUDA_HEAPSIZE=8G CLOUDSC_PACKED_STORAGE=ON ./bin/dwarf-cloudsc-gpu-scc-field 1 80000 128 | ||
``` | ||
|
||
## Loki transformations for CLOUDSC | ||
|
||
[Loki](https://github.com/ecmwf-ifs/loki) is an in-house developed | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.3.0 | ||
1.4.0 |
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
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
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
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
Oops, something went wrong.