1 #ifndef HeterogeneousCore_CUDAUtilities_memsetAsync_h
2 #define HeterogeneousCore_CUDAUtilities_memsetAsync_h
16 "For array types, use the other overload with the size parameter");
28 cudaCheck(cudaMemsetAsync(ptr.get(),
value, nelements *
sizeof(
T), stream));
void memsetAsync(device::unique_ptr< T > &ptr, T value, cudaStream_t stream)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V value
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
#define cudaCheck(ARG,...)