Commit cc3f11f5 by Thomas Schwinge Committed by Thomas Schwinge

[OpenACC] In 'libgomp/target.c:gomp_to_device_kind_p', handle…

[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
parent ddb25eb9
2019-12-18 Thomas Schwinge <thomas@codesourcery.com> 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/92726
PR libgomp/92970 PR libgomp/92970
PR libgomp/92984 PR libgomp/92984
......
...@@ -279,6 +279,7 @@ gomp_to_device_kind_p (int kind) ...@@ -279,6 +279,7 @@ gomp_to_device_kind_p (int kind)
case GOMP_MAP_ALLOC: case GOMP_MAP_ALLOC:
case GOMP_MAP_FROM: case GOMP_MAP_FROM:
case GOMP_MAP_FORCE_ALLOC: case GOMP_MAP_FORCE_ALLOC:
case GOMP_MAP_FORCE_FROM:
case GOMP_MAP_ALWAYS_FROM: case GOMP_MAP_ALWAYS_FROM:
return false; return false;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment