CMS 3D CMS Logo

Namespaces | Functions
copyAsync.h File Reference
#include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h"
#include "HeterogeneousCore/CUDAUtilities/interface/device_unique_ptr.h"
#include "HeterogeneousCore/CUDAUtilities/interface/host_unique_ptr.h"
#include <type_traits>

Go to the source code of this file.

Namespaces

 cms
 Namespace of DDCMS conversion namespace.
 
 cms::cuda
 

Functions

template<typename T >
void cms::cuda::copyAsync (device::unique_ptr< T > &dst, const host::unique_ptr< T > &src, cudaStream_t stream)
 
template<typename T >
void cms::cuda::copyAsync (device::unique_ptr< T[]> &dst, const host::unique_ptr< T[]> &src, size_t nelements, cudaStream_t stream)
 
template<typename T >
void cms::cuda::copyAsync (host::unique_ptr< T > &dst, const device::unique_ptr< T > &src, cudaStream_t stream)
 
template<typename T >
void cms::cuda::copyAsync (host::unique_ptr< T[]> &dst, const device::unique_ptr< T[]> &src, size_t nelements, cudaStream_t stream)