![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <cstddef>#include <type_traits>#include <vector>
Include dependency graph for CudaHostAllocator.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | CudaHostAllocator< T > |
| Allocator that uses CUDA to allocate CPU memory. More... | |
Typedefs | |
| template<class T > | |
| using | pinned_vector = std::vector< T, CudaHostAllocator< T > > |
Functions | |
| void | cuda_malloc_host (void **p, std::size_t n) |
| void | cuda_free_host (void *p) |
| using pinned_vector = std::vector<T, CudaHostAllocator<T> > |
Definition at line 64 of file CudaHostAllocator.hpp.
Definition at line 32 of file CudaHostAllocator.cu.
References stream.
Referenced by CudaHostAllocator< T >::deallocate().
| void cuda_malloc_host | ( | void ** | p, |
| std::size_t | n | ||
| ) |
Definition at line 24 of file CudaHostAllocator.cu.
References stream.
Referenced by CudaHostAllocator< T >::allocate().