Ticket #925: app_start_cpp.patch

File app_start_cpp.patch, 637 bytes (added by Thyme Lawn, 15 years ago)

Patch

  • app_start.cpp

     
    253253    aid.rsc_memory_bound = wup->rsc_memory_bound;
    254254    aid.rsc_disk_bound = wup->rsc_disk_bound;
    255255    aid.computation_deadline = result->computation_deadline();
    256     int nprocs = (result->avp->ncudas)?coproc_cuda->count:gstate.ncpus;
     256    int nprocs = (result->avp->ncudas)?coproc_cuda->count:result->avp->avg_ncpus;
    257257    aid.checkpoint_period = nprocs*gstate.global_prefs.disk_interval;
    258258    aid.fraction_done_start = 0;
    259259    aid.fraction_done_end = 1;