Changeset 659 for trunk/user/sort


Ignore:
Timestamp:
Oct 10, 2020, 3:58:01 PM (4 years ago)
Author:
alain
Message:

euh...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/sort/sort.c

    r656 r659  
    262262 
    263263    // compute number of working threads (one thread per core)
    264     get_config( &x_size , &y_size , &ncores );
     264    hard_config_t  config;
     265    get_config( &config );
     266    x_size  = config.x_size;
     267    y_size  = config.y_size;
     268    ncores  = config.ncores;
    265269    threads = x_size * y_size * ncores;
    266270
Note: See TracChangeset for help on using the changeset viewer.