|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
Contains the declartion and implementation of the DeviceVector class. Note that since this is a templated class the implementation must be in the header file. More...
#include <algorithm>#include <stdexcept>#include <string>#include <type_traits>#include <utility>#include <vector>#include "../global/global.h"#include "../global/global_cuda.h"#include "../utils/gpu.hpp"

Go to the source code of this file.
Classes | |
| class | cuda_utilities::DeviceVector< T > |
A templatized class to encapsulate a device global memory pointer in a std::vector like interface complete with most of the usual methods. This class is intended to be used only in host code and does not work device side; Passing the pointer to a kernel can be done with the data() method. This class works for any device side pointer, scalar or array valued. More... | |
Contains the declartion and implementation of the DeviceVector class. Note that since this is a templated class the implementation must be in the header file.