EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Namespaces | |
namespace | Details |
Classes | |
class | SeedFinder |
struct | TripletFilterConfig |
Structure holding pointers to the user defined filter functions. More... | |
Typedefs | |
template<typename T > | |
using | device_array = std::unique_ptr< T, Details::DeviceArrayDeleter > |
Convenience type for using primitive variable arrays on a CUDA device. | |
template<typename T > | |
using | host_array = std::unique_ptr< T, Details::HostArrayDeleter > |
Convenience type for using primitive variable arrays on the host. | |
Functions | |
template<typename T > | |
device_array< T > | make_device_array (std::size_t size) |
Function creating a primitive array in CUDA device memory. | |
template<typename T > | |
host_array< T > | make_host_array (std::size_t size) |
Function creating a primitive array in the host's memory. | |
template<typename T > | |
void | 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 | copyToHost (host_array< T > &host, const device_array< T > &dev, std::size_t arraySize) |
Copy one array from the device to the host. | |
using Acts::Cuda::device_array = typedef std::unique_ptr<T, Details::DeviceArrayDeleter> |
Convenience type for using primitive variable arrays on a CUDA device.
Definition at line 42 of file Arrays.hpp.
View newest version in sPHENIX GitHub at line 42 of file Arrays.hpp
using Acts::Cuda::host_array = typedef std::unique_ptr<T, Details::HostArrayDeleter> |
Convenience type for using primitive variable arrays on the host.
Definition at line 50 of file Arrays.hpp.
View newest version in sPHENIX GitHub at line 50 of file Arrays.hpp
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.
Referenced by Acts::Cuda::SeedFinder< external_spacepoint_t >::createSeedsForGroup().
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.
device_array<T> Acts::Cuda::make_device_array | ( | std::size_t | size | ) |
Function creating a primitive array in CUDA device memory.
host_array<T> Acts::Cuda::make_host_array | ( | std::size_t | size | ) |
Function creating a primitive array in the host's memory.