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/seq-main.in
ViewVC logotype

Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-main.in

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

revision 3922, Wed Jun 1 17:02:34 2016 UTC revision 3924, Fri Jun 3 17:30:27 2016 UTC
# Line 1  Line 1 
1    using namespace @PREFIX@;
2    
3  //! Main function for standalone sequential C target  //! Main function for standalone sequential C target
4  //  //
5  int main (int argc, const char **argv)  int main (int argc, const char **argv)
# Line 55  Line 57 
57      if (wrld->_verbose) {      if (wrld->_verbose) {
58          std::cerr << "initializing globals ...\n";          std::cerr << "initializing globals ...\n";
59      }      }
60      if (initially (wrld)) {      if (wrld->initially()) {
61          std::cerr << "Error in global initialization:\n%s\n"          std::cerr << "Error in global initialization:\n%s\n"
62              << biffMsgStrGet(wrld->_errors) << std::endl;              << biffMsgStrGet(wrld->_errors) << std::endl;
63          exit(1);          exit(1);
64      }      }
65    
66      if (wrld->_verbose) {      if (wrld->_verbose) {
67          std::cerr << "run with " << wrld->_num_strands << " strands ..." << std::endl;          std::cerr << "run with " << wrld->_nstrands << " strands ..." << std::endl;
68      }      }
69    
70      uint32_t nSteps = wrld->run (stepLimit);      uint32_t nSteps = wrld->run (stepLimit);

Legend:
Removed from v.3922  
changed lines
  Added in v.3924

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