Template Class device_allocator< void >¶
Defined in File device_allocator.h
Nested Relationships¶
Class Documentation¶
-
template<>
classdevice_allocator
<void>¶ device_allocator<void>
is a device memory allocator. This class is a specialization forvoid
.Public Types
-
typedef void
value_type
¶ Type of element allocated,
void
.
-
typedef device_ptr<void>
pointer
¶ Pointer to allocation,
device_ptr<void>
.
-
typedef device_ptr<const void>
const_pointer
¶ const
pointer to allocation,device_ptr<const void>
.
-
typedef std::size_t
size_type
¶ Type of allocation size,
std::size_t
.
-
template<typename
U
>
structrebind
¶ The
rebind
metafunction provides the type of adevice_allocator
instantiated with another type.- Template Parameters
U
: The other type to use for instantiation.
Public Types
-
template<>
typedef device_allocator<U>other
¶ The typedef
other
gives the type of the rebounddevice_allocator
.
-
typedef void