Celeritas  0.5.0-86+4a8eea4
Classes | Functions
Copier.hh File Reference
#include <cstddef>
#include <type_traits>
#include "corecel/Assert.hh"
#include "corecel/Types.hh"
#include "corecel/cont/Span.hh"
#include "corecel/sys/ThreadId.hh"
This graph shows which files directly or indirectly include this file:

Classes

class  celeritas::Copier< T, M >
 Copy spans of data. More...
 
class  celeritas::ItemCopier< T >
 Copy a single value from device to host. More...
 

Functions

void celeritas::copy_bytes (MemSpace dstmem, void *dst, MemSpace srcmem, void const *src, std::size_t count)
 Perform a memcpy on the data.
 
void celeritas::copy_bytes (MemSpace dstmem, void *dst, MemSpace srcmem, void const *src, std::size_t count, StreamId stream)
 Perform an asynchronous memcpy on the data.