EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Arrays.hpp File Reference
#include <cstddef>
#include <memory>
+ Include dependency graph for Arrays.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Acts::Cuda::Details::DeviceArrayDeleter
 Class performing the deletion of a CUDA device memory array. More...
 
class  Acts::Cuda::Details::HostArrayDeleter
 Class performing the deletion of pinned host memory. More...
 

Namespaces

namespace  Acts
 Set the Geometry Context PLUGIN.
 
namespace  Acts::Cuda
 
namespace  Acts::Cuda::Details
 

Typedefs

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.
 

Functions

template<typename T >
device_array< TActs::Cuda::make_device_array (std::size_t size)
 Function creating a primitive array in CUDA device memory.
 
template<typename T >
host_array< TActs::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.