Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
DeviceBuffer.hpp File Reference
Include dependency graph for DeviceBuffer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sham::DeviceBuffer< T, target >
 A buffer allocated in USM (Unified Shared Memory). More...

Namespaces

namespace  sham
 namespace for backends this one is named only sham since shambackends is too long to write

Functions

template<class T>
sham::EventList sham::safe_copy (sham::DeviceQueue &q, sham::EventList &depends_list, const T *src, T *dest, size_t count)
template<class T>
sham::EventList sham::safe_fill (sham::DeviceQueue &q, sham::EventList &depends_list, T *dest, size_t count, T value)
template<class T, class Fct>
sham::EventList sham::safe_fill_lambda (sham::DeviceQueue &q, sham::EventList &depends_list, T *dest, size_t count, Fct &&fct)

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file DeviceBuffer.hpp.