]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgomp/openacc_lib.h
[OpenACC] Set 'acc_device_current = -1'
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 29 Apr 2020 06:12:36 +0000 (08:12 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 29 Apr 2020 07:54:37 +0000 (09:54 +0200)
commita5d0bc12e1bfa956941cd9c49d5b978256bd11ec
tree34e79c2f6820956938f414465f5600c9c261951d
parentd20219b5ab26cd003ae78ac9f82be337fe4df261
[OpenACC] Set 'acc_device_current = -1'

There's no point in using value '-3', and even though not directly related,
value '-1' does match 'GOMP_DEVICE_ICV'.

libgomp/
* config/accel/openacc.f90 (acc_device_current): Set to '-1'.
* openacc.f90 (acc_device_current): Likewise.
* openacc.h (acc_device_current): Likewise.
* openacc_lib.h (acc_device_current): Likewise.
libgomp/ChangeLog
libgomp/config/accel/openacc.f90
libgomp/openacc.f90
libgomp/openacc.h
libgomp/openacc_lib.h