Template Struct BlockTraits< HostBlock< T, Dimensions > >¶
Defined in File block_traits.hpp
Struct Documentation¶
-
template<typename
T
, size_tDimensions
>
structripple
::
BlockTraits
<HostBlock<T, Dimensions>>¶ Specialization of the BlockTraits struct for a host block.
- Template Parameters
T
: The data type for the block.Dimensions
: The number of dimensions for the block.
Public Types
-
using
Value
= typename LayoutTraits::Value¶ Defines the value type of the block.
-
using
Allocator
= typename LayoutTraits::Allocator¶ Defines the type of allocator for the block.
-
using
Space
= DynamicMultidimSpace<Dimensions>¶ Defines the the of the space information for the block.
-
using
Iter
= BlockIterator<Value, Space>¶ Defines the type of the iterator for the block.
Public Static Attributes
-
constexpr size_t
dimensions
= Dimensions¶ Defines the number of dimensions for the block.
-
constexpr bool
is_block
= true¶ Defines that the traits are for a valid block.
-
constexpr bool
is_host_block
= true¶ Defines that the blocks is a host block.
-
constexpr bool
is_device_block
= false¶ Defines that the block is not a device block.
-
constexpr size_t
alignment
= LayoutTraits::alignment¶ Defines the alignment for the block.