diff options
author | HyoukJoong Lee <hyouklee@google.com> | 2018-09-04 13:56:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-04 14:00:48 -0700 |
commit | 97039a80b3dabb5ed2e4fb5d0d0bdc5229293718 (patch) | |
tree | d1c318c5863200ac91da19deb100b607c7f64767 /tensorflow/compiler/xla/service/hlo_domain_metadata.h | |
parent | ffd9519c3fffe43473f06a1c8fdd12519490db3b (diff) |
Fix CRS combiner for spatial partitioning
PiperOrigin-RevId: 211519250
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_domain_metadata.h')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_domain_metadata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_domain_metadata.h b/tensorflow/compiler/xla/service/hlo_domain_metadata.h index 6c142ee474..302807f816 100644 --- a/tensorflow/compiler/xla/service/hlo_domain_metadata.h +++ b/tensorflow/compiler/xla/service/hlo_domain_metadata.h @@ -72,6 +72,9 @@ class DomainMetadata { // two matches. virtual bool Matches(const DomainMetadata& other) const = 0; + // Returns the hash value of the metadata. + virtual size_t Hash() const = 0; + // Returns a string representation of the metadata. virtual string ToString() const = 0; }; |