Skip to content

Commit

Permalink
Update Readme to reflect CCE17 support and fix CMake comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Dec 2, 2024
1 parent 0c66ad1 commit d608b60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,17 @@ Features of FIELD_API can be toggled by passing the following argument to the CM
|:--- |:--- |:--- |
| TESTS | ON | Build the testing suite. |
| BUDDY_MALLOC | ON | Enable the use of a binary buddy memory allocator for the shadow host allocation for `FIELD%DEVPTR`. This option is switched off if CUDA is enabled.|
| ACC | ON | Enable the use of OpenACC for GPU offload. |
| ACC | ON | Enable the use of OpenACC for GPU offload. Currently only suppored on NVHPC. |
| SINGLE_PRECISION | ON | Enable the compilation of field_api in single precision |
| DOUBLE_PRECISION | ON | Enable the compilation of field_api in double precision |
| CUDA | OFF | Enable the use of CUDA for GPU offload. Disables the use of the buddy memory allocator, removes the shadow host allocation for `FIELD%DEVPTR` and allocates owned fields (see below) in pinned (page-locked) host memory.|
| FIELD_GANG | ON | Enable packed storage of groups of fields. This feature is not supported for the Cray compiler as it cannot resolve the underlying polymorphism.|

## Supported compilers
The library has been tested with the nvhpc toolkit from Nvidia, version 23.9
and is continually tested with newer releases. It has also been tested on CPU
(-DENABLE_ACC=OFF) with GCC 12 and Intel 2021. The CI testing (CPU-only for now) uses GNU 11.4.
and is continually tested with newer releases. Please note that GPU offload is currently
only supported for Nvidia compilers. It has also been tested on CPU (-DENABLE_ACC=OFF)
with GCC 12, Intel 2021 and CCE17.

# Field API types

Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
set(LIBNAME_PREC ${LIBNAME}_${DEFAULT_PRECISION})

# set DEV_ALLOC_SIZE for tests
set(dev_alloc_size "268435456") # 1GB
set(dev_alloc_size "268435456") # 256MB

## Host-device ping-pong runner
ecbuild_add_test(
Expand Down

0 comments on commit d608b60

Please sign in to comment.