|
template<class T > |
void | celeritas::swap (DeviceVector< T > &a, DeviceVector< T > &b) noexcept |
| Swap two vectors.
|
|
template<class T > |
CELER_FUNCTION Span< T const > | celeritas::make_span (DeviceVector< T > const &dv) |
| Prevent accidental construction of Span from a device vector. More...
|
|
template<class T > |
CELER_FUNCTION Span< T > | celeritas::make_span (DeviceVector< T > &dv) |
| Prevent accidental construction of Span from a device vector.
|
|
template<class T > |
ObserverPtr< T, MemSpace::device > | celeritas::make_observer (DeviceVector< T > &vec) noexcept |
| Create an observer pointer from a device vector.
|
|
template<class T > |
ObserverPtr< T const, MemSpace::device > | celeritas::make_observer (DeviceVector< T > const &vec) noexcept |
| Create an observer pointer from a pointer in the native memspace.
|
|