OpenVDB 13.2.0
Loading...
Searching...
No Matches
IsStreamArgument< BufferT > Struct Template Reference

True when BufferT is a stream rather than a buffer: cudaStream_t, or another non-buffer type that converts to it. nullptr is not a stream here. More...

#include <nanovdb/cuda/HandleStorage.h>

Static Public Attributes

static constexpr bool value

Detailed Description

template<typename BufferT>
struct nanovdb::cuda::detail::IsStreamArgument< BufferT >

True when BufferT is a stream rather than a buffer: cudaStream_t, or another non-buffer type that converts to it. nullptr is not a stream here.

Member Data Documentation

◆ value

template<typename BufferT>
bool value
staticconstexpr
Initial value:
= std::is_convertible<BufferT, cudaStream_t>::value && !std::is_null_pointer<BufferT>::value
static constexpr bool value
Definition HostBuffer.h:112
static constexpr bool value
Definition HostBuffer.h:121
static constexpr bool hasDeviceDual
Definition HostBuffer.h:102