Thrust

◆ device_pointer_cast() [2/2]

template<typename T >
__host__ __device__ device_ptr<T> thrust::device_pointer_cast ( device_ptr< T > const &  dptr)

Create a device_ptr from another device_ptr.

Template Parameters
TAny type.
Parameters
dptrA device_ptr to a T.

Referenced by thrust::device_ptr< T >::operator=().