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¶ constpointer to allocation,device_ptr<const void>.
-
typedef std::size_t
size_type¶ Type of allocation size,
std::size_t.
-
template<typename
U>
structrebind¶ The
rebindmetafunction provides the type of adevice_allocatorinstantiated with another type.- Template Parameters
U: The other type to use for instantiation.
Public Types
-
template<>
typedef device_allocator<U>other¶ The typedef
othergives the type of the rebounddevice_allocator.
-
typedef void