syclreference.com
  1. SYCL
  2. | API Reference
  3. | Images
  4. | image
  5. | operator=
<light>

operator=

MISSING


image<kDimensions, AllocatorT> & operator=(const image<kDimensions, AllocatorT> & rhs)
(1)
image<kDimensions, AllocatorT> & operator=(image<kDimensions, AllocatorT> && rhs)
(2)
  1. Copy assignment.Copies the image descriptor of the original image. After the copy, both image object will point to the same underlying memory.
    Parameters:
    • const image<kDimensions, AllocatorT> & rhs
  2. Move Assignment. Moves the image descriptor of the original image. After the move, rhs will be invalid.
    Parameters:
    • image<kDimensions, AllocatorT> && rhs

syclreference.com — SYCL Reference Pages

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