From bdaf6dc251d98fc1c93165fa8579378204b395e1 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sat, 17 Sep 2016 18:58:56 -0600 Subject: chill doc --- chill/include/dep.hh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'chill/include/dep.hh') diff --git a/chill/include/dep.hh b/chill/include/dep.hh index 1fa1280..f1cc864 100644 --- a/chill/include/dep.hh +++ b/chill/include/dep.hh @@ -14,9 +14,9 @@ typedef std::vector DependenceList; struct DependenceVector { DependenceType type; IR_Symbol *sym; - - bool is_reduction; // used to identify a class of flow dependence - // that can be broken + + bool is_reduction; //!< used to identify a class of flow dependence + //!< that can be broken std::vector lbounds; std::vector ubounds; @@ -29,7 +29,6 @@ struct DependenceVector { quasi = false; is_scalar_dependence = false; } - // DependenceVector(int size); DependenceVector(const DependenceVector &that); ~DependenceVector() {delete sym;} DependenceVector &operator=(const DependenceVector &that); @@ -40,7 +39,7 @@ struct DependenceVector { bool has_been_carried_at(int dim) const; bool has_been_carried_before(int dim) const; - // the following functions will be cleaned up or removed later + // TODO the following functions will be cleaned up or removed later bool isZero() const; bool isPositive() const; bool isNegative() const; @@ -55,7 +54,6 @@ struct DependenceVector { std::vector normalize() const; std::vector permute(const std::vector &pi) const; DependenceVector reverse() const; - // std::vector matrix(const std::vector > &M) const; DependenceType getType() const; friend std::ostream& operator<<(std::ostream &os, const DependenceVector &d); }; @@ -72,10 +70,8 @@ public: DependenceGraph() { num_dim_ = 0; } ~DependenceGraph() {} int num_dim() const { return num_dim_; } -// DependenceGraph permute(const std::vector &pi) const; DependenceGraph permute(const std::vector &pi, const std::set &active = std::set()) const; - // DependenceGraph matrix(const std::vector > &M) const; DependenceGraph subspace(int dim) const; bool isPositive() const; bool hasPositive(int dim) const; -- cgit v1.2.3-70-g09d2