Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/target-cpu/fragments/par-worker.in
ViewVC logotype

Diff of /branches/vis15/src/compiler/target-cpu/fragments/par-worker.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4907, Thu Jan 26 22:33:34 2017 UTC revision 4908, Fri Jan 27 22:21:00 2017 UTC
# Line 33  Line 33 
33          if (myArg->_id == 0) {          if (myArg->_id == 0) {
34            // worker 0 does sequential work of rebuilding tree            // worker 0 does sequential work of rebuilding tree
35  /* FIXME: tree building should be parallel */  /* FIXME: tree building should be parallel */
36                IF_LOGGING ( LogKDTreeRebuildStart(wrld, myArg->_id+1); )
37              wrld->_tree->rebuild ();              wrld->_tree->rebuild ();
38                IF_LOGGING ( LogKDTreeRebuildDone(wrld, myArg->_id+1); )
39          }          }
40        // synchronize on the tree having been built        // synchronize on the tree having been built
41          sched->_bspBar.wait ();          sched->_bspBar.wait ();

Legend:
Removed from v.4907  
changed lines
  Added in v.4908

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0