Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Classes
DeviceVector.h File Reference

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"
Include dependency graph for DeviceVector.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

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.

Author
Robert 'Bob' Caddy (rvc@p.nosp@m.itt..nosp@m.edu)