syclreference.com
  1. SYCL
  2. | API Reference
  3. | Command Groups
  4. | handler
  5. | update_host

update_host

Updates the device data with the current host accessor


template <typename T, int dims, cl::sycl::access::mode accessMode, cl::sycl::access::target accessTarget, access::placeholder isPlaceholder>
void update_host(accessor<T, dims, accessMode, accessTarget, isPlaceholder> acc)
(1)
  1. Updates the device data with the current host accessor
    Parameters:
    • accessor<T, dims, accessMode, accessTarget, isPlaceholder> acc

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000