#include <cstddef>
#include <memory>
Go to the source code of this file.
|
template<typename T > |
using | Acts::Cuda::device_array = std::unique_ptr< T, Details::DeviceArrayDeleter > |
| Convenience type for using primitive variable arrays on a CUDA device.
|
|
template<typename T > |
using | Acts::Cuda::host_array = std::unique_ptr< T, Details::HostArrayDeleter > |
| Convenience type for using primitive variable arrays on the host.
|
|
|
template<typename T > |
device_array< T > | Acts::Cuda::make_device_array (std::size_t size) |
| Function creating a primitive array in CUDA device memory.
|
|
template<typename T > |
host_array< T > | Acts::Cuda::make_host_array (std::size_t size) |
| Function creating a primitive array in the host's memory.
|
|
template<typename T > |
void | Acts::Cuda::copyToDevice (device_array< T > &dev, const host_array< T > &host, std::size_t arraySize) |
| Copy one array from the host to the device.
|
|
template<typename T > |
void | Acts::Cuda::copyToHost (host_array< T > &host, const device_array< T > &dev, std::size_t arraySize) |
| Copy one array from the device to the host.
|
|