thrust::device_pointer_cast
Defined in thrust/device_ptr.h
- 
template<typename T>
 device_ptr<T> thrust::device_pointer_cast(device_ptr<T> const &dptr)
- Create a - device_ptrfrom another- device_ptr.- Template Parameters
- T – Any type. 
- Parameters
- dptr – A - device_ptrto a- T.