[openacc] Add oacc_get_default_dim
authorTom de Vries <tdevries@suse.de>
Wed, 19 Dec 2018 15:19:56 +0000 (15:19 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 19 Dec 2018 15:19:56 +0000 (15:19 +0000)
commitb75e9c83dea4357b09eb505f03570be8fa4f3d99
treeeb877e85921edc4cde1b1fb46daa0733c954573d
parenta14feb3c783fba6af8d66b8138214a3a313be5c5
[openacc] Add oacc_get_default_dim

Expose oacc_default_dims to backends.

2018-12-19  Tom de Vries  <tdevries@suse.de>

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

From-SVN: r267274
gcc/ChangeLog
gcc/omp-offload.c
gcc/omp-offload.h