Analysis Software
Documentation for sPHENIX simulation software
|
Namespaces | |
namespace | Details |
Classes | |
class | SeedFinder |
struct | TripletFilterConfig |
Structure holding pointers to the user defined filter functions. More... | |
class | Info |
class | MemoryManager |
class | StreamWrapper |
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 | copyToDevice (device_array< T > &dev, const host_array< T > &host, std::size_t arraySize, const StreamWrapper &stream) |
Copy one array from the host to the device asynchronously. | |
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. | |
template<typename T > | |
void | copyToHost (host_array< T > &host, const device_array< T > &dev, std::size_t arraySize, const StreamWrapper &stream) |
Copy one array from the device to the host asynchronously. | |
std::ostream & | operator<< (std::ostream &out, const Info::Device &device) |
Print operator for Acts::Cuda::Info::Device . | |
StreamWrapper | createStreamFor (const Acts::Cuda::Info::Device &device) |
Create a stream for a particular CUDA device. | |
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 45 of file Arrays.hpp.
View newest version in sPHENIX GitHub at line 45 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 53 of file Arrays.hpp.
View newest version in sPHENIX GitHub at line 53 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::copyToDevice | ( | device_array< T > & | dev, |
const host_array< T > & | host, | ||
std::size_t | arraySize, | ||
const StreamWrapper & | stream | ||
) |
Copy one array from the host to the device asynchronously.
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.
void Acts::Cuda::copyToHost | ( | host_array< T > & | host, |
const device_array< T > & | dev, | ||
std::size_t | arraySize, | ||
const StreamWrapper & | stream | ||
) |
Copy one array from the device to the host asynchronously.
StreamWrapper Acts::Cuda::createStreamFor | ( | const Acts::Cuda::Info::Device & | device | ) |
Create a stream for a particular CUDA device.
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.
std::ostream& Acts::Cuda::operator<< | ( | std::ostream & | out, |
const Info::Device & | device | ||
) |
Print operator for Acts::Cuda::Info::Device
.