diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2019-12-18 18:01:22 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2019-12-18 18:01:22 +0100 |
commit | cc3f11f5f51ea1f192b23c8df793e23d7163002d (patch) | |
tree | 6bf10b1ab9a0e8dbb72e966bd080f8d7a4f7575f /libgomp/target.c | |
parent | ddb25eb9ca373b293da3e8f2c1520dbb72271367 (diff) | |
download | gcc-cc3f11f5f51ea1f192b23c8df793e23d7163002d.zip gcc-cc3f11f5f51ea1f192b23c8df793e23d7163002d.tar.gz gcc-cc3f11f5f51ea1f192b23c8df793e23d7163002d.tar.bz2 |
[OpenACC] In 'libgomp/target.c:gomp_to_device_kind_p', handle 'GOMP_MAP_FORCE_FROM' like 'GOMP_MAP_FROM'
Fix oversight from r254194 "Coalesce host to device transfers in libgomp".
libgomp/
* target.c (gomp_to_device_kind_p): Handle 'GOMP_MAP_FORCE_FROM'
like 'GOMP_MAP_FROM'.
From-SVN: r279533
Diffstat (limited to 'libgomp/target.c')
-rw-r--r-- | libgomp/target.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/target.c b/libgomp/target.c index 41cf6a3..a3cdb34 100644 --- a/libgomp/target.c +++ b/libgomp/target.c @@ -279,6 +279,7 @@ gomp_to_device_kind_p (int kind) case GOMP_MAP_ALLOC: case GOMP_MAP_FROM: case GOMP_MAP_FORCE_ALLOC: + case GOMP_MAP_FORCE_FROM: case GOMP_MAP_ALWAYS_FROM: return false; default: |