/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to dict_hw/src/hw_sched.h

  • Committer: Suren A. Chilingaryan
  • Date: 2010-08-08 13:41:04 UTC
  • Revision ID: csa@dside.dyndns.org-20100808134104-w7l3e5f4d62ygi5c
Fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    int status;
32
32
    int started;
33
33
    
34
 
    int n_threads;
 
34
    int n_threads, n_threads_actual;
35
35
    HWThread thread[HW_MAX_THREADS];
36
36
    
37
37
    GCond *job_cond, *compl_cond;
53
53
 
54
54
HWSched hw_sched_create(int ppu_count);
55
55
void hw_sched_destroy(HWSched ctx);
 
56
int hw_sched_limit_num_threads(HWSched ctx, int count);
56
57
int hw_sched_set_sequential_mode(HWSched ctx, int *n_blocks, int *cur_block);
57
58
int hw_sched_get_chunk(HWSched ctx, int thread_id);
58
59
int hw_sched_schedule_task(HWSched ctx, void *appctx, HWEntry entry);