legate::mapping::ProxyStoreMapping#
-
class ProxyStoreMapping#
Model a store mapping descriptor that can be applied to one or more arguments of a task.
Public Functions
- ProxyStoreMapping(
- std::variant<ProxyArrayArgument, ProxyInputArguments, ProxyOutputArguments, ProxyReductionArguments> store,
- std::optional<StoreTarget> target,
- bool exact = false
Construct a store mapping.
Builds an instance mapping policy with the provided arguments.
- Parameters:
store – Store argument(s) to apply the mapping policy to.
target – Specific store target or
std::nulloptif the target should be chosen at mapping-time. SeeProxyInstanceMappingPolicyfor more information.exact – Whether the mapping must be exact.
- ProxyStoreMapping(
- std::variant<ProxyArrayArgument, ProxyInputArguments, ProxyOutputArguments, ProxyReductionArguments> store,
- ProxyInstanceMappingPolicy &&policy
Construct a store mapping.
- Parameters:
store – Store argument(s) to apply the mapping policy to.
policy – Instance mapping policy.
-
const ProxyInstanceMappingPolicy &policy() const#
- Returns:
Associated instance mapping policy.