Legion Runtime
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
Legion::ShardingFunctor Class Referenceabstract

#include <legion.h>

Public Member Functions

virtual ShardID shard (const DomainPoint &point, const Domain &full_space, const size_t total_shards)=0
 
virtual bool is_invertible (void) const
 
virtual void invert (ShardID shard, const Domain &shard_domain, const Domain &full_domain, const size_t total_shards, std::vector< DomainPoint > &points)
 

Detailed Description

A sharding functor is a object that is during control replication of a task to determine which points of an operation are owned by a given shard. Unlike projection functors, these functors are not given access to the operation being sharded. We provide access to the local processor on which this operation exists and the mapping of shards to processors. Legion will assume that this functor is functional so the same arguments passed to functor will always result in the same operation.


The documentation for this class was generated from the following file: