From bb26869cc5bc51d137fefceeb40fd451cd71c899 Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 29 Jun 2020 00:48:51 -0700 Subject: [PATCH] legion: support for invertible sharding functions --- runtime/legion.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/runtime/legion.h b/runtime/legion.h index 5dfedb5317..765f5ddc15 100644 --- a/runtime/legion.h +++ b/runtime/legion.h @@ -3692,6 +3692,13 @@ namespace Legion { virtual ShardID shard(const DomainPoint &point, const Domain &full_space, const size_t total_shards) = 0; + public: + virtual bool is_invertible(void) const { return false; } + virtual void invert(ShardID shard, + const Domain &shard_domain, + const Domain &full_domain, + const size_t total_shards, + std::vector &points) { } }; /**