[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
This commit is contained in:
Thomas Schwinge 2019-12-18 18:01:22 +01:00 committed by Thomas Schwinge
parent ddb25eb9ca
commit cc3f11f5f5
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2019-12-18 Thomas Schwinge <thomas@codesourcery.com>
* target.c (gomp_to_device_kind_p): Handle 'GOMP_MAP_FORCE_FROM'
like 'GOMP_MAP_FROM'.
PR libgomp/92726
PR libgomp/92970
PR libgomp/92984

View File

@ -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: