CUDA runtime functionalities and wrappers. More...
Include dependency graph for cuda_runtime.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
| namespace | cuda |
Functions | |
| template<typename T > | |
| void | cuda::copy (T *h_var, T *d_var, std::size_t count=1, To::Target copyTo=To::device) |
| Copy between host and device and vice-versa. More... | |
| template<typename T > | |
| void | cuda::set (T *d_var, T val, std::size_t count=1) |
| Set device memory to a specific value. More... | |
| template<typename T > | |
| void | cuda::malloc (T *&d_var, std::size_t count) |
| Allocate device memory. More... | |
| template<typename T > | |
| void | cuda::free (T *d_var) |
| Free device memory. More... | |
CUDA runtime functionalities and wrappers.
Wrapping CUDA runtime functions for better C++ integration.
Definition in file cuda_runtime.h.