[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:
parent
ddb25eb9ca
commit
cc3f11f5f5
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user