Lines Matching defs:DST

212                             DynamicScheduleTracker *DST) {
274 DST->ScheduleType = schedule;
276 DST->LoopUpperBound = ub;
282 DST->Chunk = chunk;
283 DST->NextLowerBound = lb;
284 DST->Stride = stride;
288 DST->ScheduleType = schedule;
290 DST->LoopUpperBound = ub;
305 DST->Chunk = chunk;
306 DST->NextLowerBound = lb;
307 DST->Stride = stride;
311 DST->ScheduleType = schedule;
313 DST->LoopUpperBound = ub;
319 DST->Chunk = chunk;
320 DST->NextLowerBound = lb;
321 DST->Stride = stride;
324 DST->ScheduleType = schedule;
327 DST->Chunk = chunk;
328 DST->LoopUpperBound = ub;
329 DST->NextLowerBound = lb;
384 DynamicScheduleTracker *DST) {
391 kmp_sched_t schedule = DST->ScheduleType;
396 T myLb = DST->NextLowerBound;
397 T ub = DST->LoopUpperBound;
403 ST chunk = DST->Chunk;
412 ST stride = DST->Stride;
413 DST->NextLowerBound = myLb + stride;
420 int finished = DynamicNextChunk(myLb, myUb, DST->Chunk, DST->NextLowerBound,
421 DST->LoopUpperBound);
448 // TODO: Expand the dispatch API to take a DST pointer which can then be
451 // of references to the DST structs allocated (in global memory) for each thread
464 // Create a new DST, link the current one, and define the new as current.
467 // Each block will allocate an array of pointers to DST structs. The array is
470 // Allocate global memory array of pointers to DST structs:
482 // Create a DST struct for the current thread:
484 memory::allocGlobal(sizeof(DynamicScheduleTracker), "new DST"));
487 // Add the new DST struct to the array of DST structs:
493 // Return the current DST.
498 // Pop the current DST and restore the last one.
503 memory::freeGlobal(CurrentDST, "remove DST");
526 DynamicScheduleTracker *DST = pushDST();
528 loc, tid, (kmp_sched_t)schedule, lb, ub, st, chunk, DST);
534 DynamicScheduleTracker *DST = pushDST();
536 loc, tid, (kmp_sched_t)schedule, lb, ub, st, chunk, DST);
541 DynamicScheduleTracker *DST = pushDST();
543 loc, tid, (kmp_sched_t)schedule, lb, ub, st, chunk, DST);
549 DynamicScheduleTracker *DST = pushDST();
551 loc, tid, (kmp_sched_t)schedule, lb, ub, st, chunk, DST);
557 DynamicScheduleTracker *DST = peekDST();
559 loc, tid, p_last, p_lb, p_ub, p_st, DST);
564 DynamicScheduleTracker *DST = peekDST();
566 loc, tid, p_last, p_lb, p_ub, p_st, DST);
571 DynamicScheduleTracker *DST = peekDST();
573 loc, tid, p_last, p_lb, p_ub, p_st, DST);
578 DynamicScheduleTracker *DST = peekDST();
580 loc, tid, p_last, p_lb, p_ub, p_st, DST);