Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/documentation/gpuParallelization.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ This wraps the lines in `code` with parallelization calls to openACC or openMP,
| `copyinReadOnly` | string list | None | Allocates and copies readonly data to GPU and then deallocated on exit |
| `copyout` | string list | None | Allocates data on GPU on entrance and then deallocates and copies to CPU on exit |
| `create` | string list | None | Allocates data on GPU on entrance and then deallocates on exit |
| `no_create` | string list | None | Use data in CPU memory unless data is already in GPU memory |
| `no_create` | string list | None | Use data in CPU memory unless data is already in GPU memory (OpenACC only) |
| `present` | string list | None | Data that must be present in GPU memory. Increment counter on entrance, decrement on exit |
| `deviceptr` | string list | None | Pointer variables that are already allocated on GPU memory |
| `attach` | string list | None | Attaches device pointer to device targets on entrance, then detach on exit |
Expand Down Expand Up @@ -184,7 +184,7 @@ Uses FYPP call directive using `#:call`
| `copyinReadOnly` | string list | None | Allocates and copies readonly data to GPU and then deallocated on exit |
| `copyout` | string list | None | Allocates data on GPU on entrance and then deallocates and copies to CPU on exit |
| `create` | string list | None | Allocates data on GPU on entrance and then deallocates on exit |
| `no_create` | string list | None | Use data in CPU memory unless data is already in GPU memory |
| `no_create` | string list | None | Use data in CPU memory unless data is already in GPU memory (OpenACC only) |
| `present` | string list | None | Data that must be present in GPU memory. Increment counter on entrance, decrement on exit |
| `deviceptr` | string list | None | Pointer variables that are already allocated on GPU memory |
| `attach` | string list | None | Attaches device pointer to device targets on entrance, then detach on exit |
Expand Down Expand Up @@ -247,7 +247,7 @@ Uses FYPP call directive using `#:call`
| `copyinReadOnly` | string list | None | Allocates and copies a readonly variable to GPU and then deallocated on exit |
| `copyout` | string list | None | Allocates data on GPU on entrance and then deallocates and copies to CPU on exit |
| `create` | string list | None | Allocates data on GPU on entrance and then deallocates on exit |
| `no_create` | string list | None | Use data in CPU memory unless data is already in GPU memory |
| `no_create` | string list | None | Use data in CPU memory unless data is already in GPU memory (OpenACC only) |
| `present` | string list | None | Data that must be present in GPU memory. Increment counter on entrance, decrement on exit |
| `deviceptr` | string list | None | Pointer variables that are already allocated on GPU memory |
| `attach` | string list | None | Attaches device pointer to device targets on entrance, then detach on exit |
Expand Down
6 changes: 3 additions & 3 deletions src/common/include/omp_macros.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
#:enddef

#:def OMP_NOCREATE_STR(no_create)
#:if no_create is not None
#:stop 'no_create is not supported yet'
#:endif
#! OpenMP has no no_create equivalent; OMP_DEFAULT_STR already maps
#! present-by-default, so emit nothing. Aborting here would also break
#! OpenACC builds, which expand both backends before #if selects one.
#:set no_create_val = ''
$:no_create_val
#:enddef
Expand Down
Loading