thrust::device_delete#
-
template<typename T>
inline void thrust::device_delete( - thrust::device_ptr<T> ptr,
- const size_t n = 1,
device_deletedeletes adevice_ptrallocated withdevice_new.See also
See also
- Parameters:
ptr – The
device_ptrto delete, assumed to have been allocated withdevice_new.n – The number of objects to destroy at
ptr. Defaults to1similar todevice_new.