[openacc] Add oacc_get_default_dim

Programming / Compilers / GCC - vries [138bc75d-0d04-0410-961f-82ee72b054a4] - 19 December 2018 15:19 EST

Expose oacc_default_dims to backends.

2018-12-19 Tom de Vries

- omp-offload.c (oacc_get_default_dim): New function.
- omp-offload.h (oacc_get_default_dim): Declare.

e2509e98e76 [openacc] Add oacc_get_default_dim
gcc/ChangeLog | 5 +++++
gcc/omp-offload.c | 7 +++++++
gcc/omp-offload.h | 2 ++
3 files changed, 14 insertions(+)

Upstream: gcc.gnu.org


  • Share