|
STIR 6.5.0
|
some utilities for STIR and CUDA More...
#include "stir/Array.h"#include "stir/info.h"#include "stir/error.h"#include "cuvec.cuh"#include <vector>#include <memory>Go to the source code of this file.
Namespaces | |
| namespace | stir |
| Namespace for the STIR library (and some/most of its applications). | |
Functions | |
| template<int num_dimensions, typename elemT> | |
| void | stir::array_to_device (elemT *dev_data, const Array< num_dimensions, elemT > &stir_array) |
| copy an Array to pre-allocated device memory | |
| template<int num_dimensions, typename elemT> | |
| void | stir::array_to_device (CuVec< elemT > &dev_data, const Array< num_dimensions, elemT > &stir_array) |
| copy an Array to pre-allocated CuVec | |
| template<int num_dimensions, typename elemT> | |
| void | stir::array_to_host (Array< num_dimensions, elemT > &stir_array, const elemT *dev_data, bool=true) |
| copy CUDA pointer to Array | |
| template<int num_dimensions, typename elemT> | |
| void | stir::array_to_host (Array< num_dimensions, elemT > &stir_array, const CuVec< elemT > &dev_data, bool sync=true) |
| copy CuVec to Array | |
some utilities for STIR and CUDA