Lines Matching defs:grain
69 // A positive requested grain size comes from the user. A very high grain
75 // At present, a negative requested grain size is treated the same way as
76 // a zero grain size, i.e., the runtime computes the actual grainsize
79 // grain size.
227 * grain - grain size (0 if it should be computed)
235 F body, void *data, int grain,
245 // Invariant: count > 0, grain >= 1
246 if (count > grain)
265 _Cilk_spawn cilk_for_recursive(low, mid, body, data, grain, w,
268 _Cilk_spawn cilk_for_recursive(low, mid, body, data, grain,
279 // execute one grain
293 * grain - grain size (0 if it should be computed)
296 static void cilk_for_root(F body, void *data, count_t count, int grain)
342 int gs = grainsize(grain, count);
379 * grain - grain size (0 if it should be computed)
383 cilk32_t count, int grain)
391 cilk_for_root(body, data, count, grain);
403 * grain - grain size (0 if it should be computed)
406 cilk64_t count, int grain)
411 cilk_for_root(body, data, count, grain);