Celeritas
0.5.0-56+6b053cd
|
Interoperability with Thrust. More...
Functions | |
template<class T > | |
ObserverPtr< T, MemSpace::device > | celeritas::make_observer (thrust::device_ptr< T > ptr) |
Create an observer pointer from a Thrust device pointer. | |
template<class T > | |
thrust::device_ptr< T > | celeritas::device_pointer_cast (ObserverPtr< T, MemSpace::device > ptr) |
Create a Thrust device pointer from an Observer pointer. | |
Interoperability with Thrust.