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:
  • storeStore argument(s) to apply the mapping policy to.

  • target – Specific store target or std::nullopt if the target should be chosen at mapping-time. See ProxyInstanceMappingPolicy for more information.

  • exact – Whether the mapping must be exact.

ProxyStoreMapping(
std::variant<ProxyArrayArgument, ProxyInputArguments, ProxyOutputArguments, ProxyReductionArguments> store,
ProxyInstanceMappingPolicy &&policy
)#

Construct a store mapping.

Parameters:
  • storeStore argument(s) to apply the mapping policy to.

  • policy – Instance mapping policy.

const ProxyInstanceMappingPolicy &policy() const#
Returns:

Associated instance mapping policy.