CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
memsetAsync.h File Reference
#include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h"
#include "HeterogeneousCore/CUDAUtilities/interface/device_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::memsetAsync (device::unique_ptr< T > &ptr, T value, cudaStream_t stream)
 
template<typename T >
void cms::cuda::memsetAsync (device::unique_ptr< T[]> &ptr, int value, size_t nelements, cudaStream_t stream)