is_device_copyable is a user specializable class template to indicate that a type T is device copyable, which means that SYCL implementation may copy objects of the type T between host and device or between two devices. More...
#include <sycl/types.hpp>
is_device_copyable is a user specializable class template to indicate that a type T is device copyable, which means that SYCL implementation may copy objects of the type T between host and device or between two devices.
Specializing is_device_copyable such a way that is_device_copyable_v<T> == true on a T that does not satisfy all the requirements of a device copyable type is undefined behavior.