Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
uni20::BlockTensorStorage Concept Reference

Storage policy for a BlockTensor container. More...

#include <block_tensor_storage.hpp>

Concept definition

template<class Storage>
concept uni20::BlockTensorStorage = requires {
typename Storage::leaf_storage_policy;
typename Storage::backend_selector_type;
typename Storage::block_execution_policy;
{ Storage::stores_all_legal_blocks } -> std::convertible_to<bool>;
{ Storage::is_distributed } -> std::convertible_to<bool>;
{ Storage::backend_selector() } -> std::same_as<typename Storage::backend_selector_type>;
}
Storage policy for a BlockTensor container.
Definition block_tensor_storage.hpp:46

Detailed Description

Storage policy for a BlockTensor container.

Template Parameters
StorageCandidate policy type.