DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::is_device_copyable< T > Struct Template Reference

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>

Inheritance diagram for sycl::_V1::is_device_copyable< T >:
Collaboration diagram for sycl::_V1::is_device_copyable< T >:

Detailed Description

template<typename T>
struct sycl::_V1::is_device_copyable< T >

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.

Definition at line 2818 of file types.hpp.


The documentation for this struct was generated from the following file: