diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-09-16 17:37:53 +0200 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-09-16 17:37:53 +0200 |
commit | 615d389aaabf81ca8e0e86de6c7cff9ecb9b498b (patch) | |
tree | 2c3522e8fdf1565cb7b4aefb34c0241e74690d2b | |
parent | 4ad4d55fb0e64dee1b4b399f0e0ca505cff8f0fa (diff) | |
download | code-615d389aaabf81ca8e0e86de6c7cff9ecb9b498b.tar.gz code-615d389aaabf81ca8e0e86de6c7cff9ecb9b498b.tar.bz2 code-615d389aaabf81ca8e0e86de6c7cff9ecb9b498b.zip |
Turned on cheap parallelization for belief propagation.
-rw-r--r-- | rbmp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -89,6 +89,7 @@ public: } double propagateBeliefs() { +# pragma omp parallel for for (Edge& e : edges) { for (HalfEdge& h : e.halfedges) { h.X = std::numeric_limits<double>::infinity(); |