Changeset 659 for trunk/user/sort/sort.c
- Timestamp:
- Oct 10, 2020, 3:58:01 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/sort/sort.c
r656 r659 262 262 263 263 // 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; 265 269 threads = x_size * y_size * ncores; 266 270
Note: See TracChangeset
for help on using the changeset viewer.