/tomo/pyhst

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/pyhst

« back to all changes in this revision

Viewing changes to hst.c

  • Committer: Suren A. Chilingaryan
  • Date: 2017-04-07 01:21:18 UTC
  • Revision ID: csa@suren.me-20170407012118-7ih8b26m13tfvfzd
Fix few bugs in scheduller causing crashes in non-threaded mode (still inoperational)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1125
1125
    ctx->setup.what_changed = HST_ALL_CHANGED;
1126
1126
    hst_configure_data_structures(ctx, custom_angles, axis_corrections);
1127
1127
 
1128
 
#ifdef HW_USE_THREADS
1129
 
    threads = 0;
1130
1128
 
1131
1129
# ifdef HW_USE_CUDA
1132
1130
    switch (setup->method) {
1137
1135
        cuda_recon = cuda_dfi_recon;
1138
1136
        break;
1139
1137
    }
1140
 
 
 
1138
#endif /* HW_USE_CUDA */
 
1139
 
 
1140
#ifdef HW_USE_THREADS
 
1141
    threads = 0;
 
1142
 
 
1143
# ifdef HW_USE_CUDA
1141
1144
    threads += cuda_recon->devices;
1142
1145
# endif /* HW_USE_CUDA */
1143
1146