Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::AsyncMemoryResource< Pointer > Class Template Referencefinal

Thrust async memory resource associated with a Stream. More...

#include <Stream.hh>

Inheritance diagram for celeritas::AsyncMemoryResource< Pointer >:
Inheritance graph
[legend]

Public Types

Type aliases
using pointer = Pointer
 
using StreamT = MockStream_st *
 

Public Member Functions

 AsyncMemoryResource (StreamT stream)
 
pointer do_allocate (std::size_t bytes, std::size_t) final
 Allocate device memory.
 
void do_deallocate (pointer p, std::size_t, std::size_t) final
 Deallocate device memory.
 

Detailed Description

template<class Pointer>
class celeritas::AsyncMemoryResource< Pointer >

Thrust async memory resource associated with a Stream.


The documentation for this class was generated from the following files: