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

SCM Repository

[diderot] View of /branches/vis12/src/compiler/c-target/fragments/lib-interface-par.in
ViewVC logotype

View of /branches/vis12/src/compiler/c-target/fragments/lib-interface-par.in

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1844 - (download) (annotate)
Sat Apr 14 12:11:31 2012 UTC (9 years, 3 months ago) by jhr
File size: 234 byte(s)
  Add support for setting the number of workers for the parallel target
//! Set number of workers; 0 means natural number for target (i.e., number of cores)
void @PREFIX@SetNumWorkers (@PREFIX@World_t *wrld, uint32_t nw);

//! Get number of workers
uint32_t @PREFIX@GetNumWorkers (@PREFIX@World_t *wrld);

ViewVC Help
Powered by ViewVC 1.0.0