array_view::synchronize_to_async Method

Asynchronously synchronizes any modifications made to this array_view to the specified accelerator_view.

concurrency::completion_future synchronize_to_async(
   const accelerator_view& _Accl_view,
   access_type _Access_type = access_type_read
) const restrict(cpu);

concurrency::completion_future synchronize_to_async(
   const accelerator_view& _Accl_view
) const restrict(cpu);

Parameters

  • _Accl_view
    The target accelerator_view to synchronize to.

  • _Access_type
    The desired access_type on the target accelerator_view. This parameter has a default value of access_type_read.

Return Value

A future upon which to wait for the operation to complete.

Requirements

Header: amp.h

Namespace: concurrency

See Also

Reference

array_view Class