array_view::synchronize_to Method

Synchronizes any modifications made to this array_view to the specified accelerator_view.

void synchronize_to(
   const accelerator_view& _Accl_view,
   access_type _Access_type = access_type_read
) const restrict(cpu);

void synchronize_to(
   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.

Requirements

Header: amp.h

Namespace: concurrency

See Also

Reference

array_view Class