libgomp/ * libgomp.h (struct splay_tree_key_s): Substitute dynamic_refcount field for virtual_refcount. (enum gomp_map_vars_kind): Add GOMP_MAP_VARS_OPENACC_ENTER_DATA. (gomp_free_memmap): Remove prototype. * oacc-init.c (acc_shutdown_1): Iteratively call gomp_remove_var instead of calling gomp_free_memmap. * oacc-mem.c (acc_map_data): Use virtual_refcount instead of dynamic_refcount. (acc_unmap_data): Open code instead of forcing target_mem_desc's to_free field to NULL then calling gomp_unmap_vars. Handle REFCOUNT_INFINITY on target blocks. (goacc_enter_data): Rename to... (goacc_enter_datum): ...this. Remove MAPNUM parameter and special handling for mapping groups. Use virtual_refcount instead of dynamic_refcount. Use GOMP_MAP_VARS_OPENACC_ENTER_DATA for map_map_vars_async call. Re-do lookup for target pointer return value. (acc_create, acc_create_async, acc_copyin, acc_copyin_async): Call renamed goacc_enter_datum function. (goacc_exit_data): Rename to... (goacc_exit_datum): ...this. Update for virtual_refcount semantics. (acc_delete, acc_delete_async, acc_delete_finalize, acc_delete_finalize_async, acc_copyout, acc_copyout_async, acc_copyout_finalize, acc_copyout_finalize_async): Call renamed goacc_exit_datum function. (gomp_acc_remove_pointer, find_pointer): Remove functions. (find_group_last, goacc_enter_data_internal, goacc_exit_data_internal): New functions. (GOACC_enter_exit_data): Use goacc_enter_data_internal and goacc_exit_data_internal helper functions. * target.c (gomp_map_vars_internal): Handle GOMP_MAP_VARS_OPENACC_ENTER_DATA. Update for virtual_refcount semantics. (gomp_unmap_vars_internal): Update for virtual_refcount semantics. (gomp_load_image_to_device, omp_target_associate_ptr): Zero-initialise virtual_refcount field instead of dynamic_refcount. (gomp_free_memmap): Remove function. * testsuite/libgomp.oacc-c-c++-common/unmap-infinity-1.c: New test. * testsuite/libgomp.c-c++-common/unmap-infinity-2.c: New test. * testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: Add XFAIL. From-SVN: r279621
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
atomic-18.c | Loading commit data... | |
cancel-parallel-1.c | Loading commit data... | |
cancel-taskgroup-1.c | Loading commit data... | |
cancel-taskgroup-2.c | Loading commit data... | |
cancel-taskgroup-3.c | Loading commit data... | |
cancel-taskgroup-4.c | Loading commit data... | |
depend-iterator-1.c | Loading commit data... | |
depend-iterator-2.c | Loading commit data... | |
depend-mutexinout-1.c | Loading commit data... | |
depend-mutexinout-2.c | Loading commit data... | |
depobj-1.c | Loading commit data... | |
display-affinity-1.c | Loading commit data... | |
for-1.c | Loading commit data... | |
for-1.h | Loading commit data... | |
for-10.c | Loading commit data... | |
for-11.c | Loading commit data... | |
for-12.c | Loading commit data... | |
for-13.c | Loading commit data... | |
for-14.c | Loading commit data... | |
for-15.c | Loading commit data... | |
for-16.c | Loading commit data... | |
for-2.c | Loading commit data... | |
for-2.h | Loading commit data... | |
for-3.c | Loading commit data... | |
for-4.c | Loading commit data... | |
for-5.c | Loading commit data... | |
for-6.c | Loading commit data... | |
for-7.c | Loading commit data... | |
for-8.c | Loading commit data... | |
for-9.c | Loading commit data... | |
function-not-offloaded-aux.c | Loading commit data... | |
function-not-offloaded.c | Loading commit data... | |
lastprivate-conditional-1.c | Loading commit data... | |
lastprivate-conditional-10.c | Loading commit data... | |
lastprivate-conditional-2.c | Loading commit data... | |
lastprivate-conditional-3.c | Loading commit data... | |
lastprivate-conditional-4.c | Loading commit data... | |
lastprivate-conditional-5.c | Loading commit data... | |
lastprivate-conditional-6.c | Loading commit data... | |
lastprivate-conditional-7.c | Loading commit data... | |
lastprivate-conditional-8.c | Loading commit data... | |
lastprivate-conditional-9.c | Loading commit data... | |
loop-1.c | Loading commit data... | |
loop-13.c | Loading commit data... | |
loop-14.c | Loading commit data... | |
loop-15.c | Loading commit data... | |
master-combined-1.c | Loading commit data... | |
monotonic-1.c | Loading commit data... | |
monotonic-2.c | Loading commit data... | |
nonmonotonic-1.c | Loading commit data... | |
nonmonotonic-2.c | Loading commit data... | |
ordered-4.c | Loading commit data... | |
pause-1.c | Loading commit data... | |
pause-2.c | Loading commit data... | |
pr45784.c | Loading commit data... | |
pr64824.c | Loading commit data... | |
pr64868.c | Loading commit data... | |
pr66199-1.c | Loading commit data... | |
pr66199-10.c | Loading commit data... | |
pr66199-11.c | Loading commit data... | |
pr66199-12.c | Loading commit data... | |
pr66199-13.c | Loading commit data... | |
pr66199-14.c | Loading commit data... | |
pr66199-2.c | Loading commit data... | |
pr66199-3.c | Loading commit data... | |
pr66199-4.c | Loading commit data... | |
pr66199-5.c | Loading commit data... | |
pr66199-6.c | Loading commit data... | |
pr66199-7.c | Loading commit data... | |
pr66199-8.c | Loading commit data... | |
pr66199-9.c | Loading commit data... | |
pr69389.c | Loading commit data... | |
pr81875.c | Loading commit data... | |
pr83046.c | Loading commit data... | |
simd-1.c | Loading commit data... | |
simd-14.c | Loading commit data... | |
simd-15.c | Loading commit data... | |
simd-16.c | Loading commit data... | |
simd-17.c | Loading commit data... | |
target-1.c | Loading commit data... | |
target-10.c | Loading commit data... | |
target-13.c | Loading commit data... | |
target-2.c | Loading commit data... | |
task-reduction-1.c | Loading commit data... | |
task-reduction-11.c | Loading commit data... | |
task-reduction-12.c | Loading commit data... | |
task-reduction-13.c | Loading commit data... | |
task-reduction-14.c | Loading commit data... | |
task-reduction-2.c | Loading commit data... | |
task-reduction-3.c | Loading commit data... | |
task-reduction-4.c | Loading commit data... | |
task-reduction-5.c | Loading commit data... | |
task-reduction-6.c | Loading commit data... | |
task-reduction-7.c | Loading commit data... | |
task-reduction-8.c | Loading commit data... | |
task-reduction-9.c | Loading commit data... | |
taskgroup-1.c | Loading commit data... | |
taskloop-1.c | Loading commit data... | |
taskloop-2.c | Loading commit data... | |
taskloop-3.c | Loading commit data... | |
taskloop-4.c | Loading commit data... | |
taskloop-reduction-1.c | Loading commit data... | |
taskloop-reduction-2.c | Loading commit data... | |
taskloop-reduction-3.c | Loading commit data... | |
taskloop-reduction-4.c | Loading commit data... | |
taskwait-depend-1.c | Loading commit data... | |
udr-1.c | Loading commit data... | |
unmap-infinity-2.c | Loading commit data... | |
variable-not-offloaded.c | Loading commit data... |