Changeset 469 for trunk/user/sort
- Timestamp:
- Aug 20, 2018, 1:04:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/sort/sort.c
r459 r469 28 28 #include <hal_macros.h> 29 29 30 #define ARRAY_LENGTH 0x 400 // 1024values30 #define ARRAY_LENGTH 0x100 // 256 values 31 31 32 32 #define MAX_THREADS 1024 // 16 * 16 * 4 … … 250 250 } 251 251 252 get_cycle( &cycle ); 253 printf("\n\n[SORT] main starts on core[%x,%d] / %d threads / %d values / cycle %d\n", 254 main_cxy, main_lid, threads, ARRAY_LENGTH, (unsigned int)cycle ); 252 printf("\n[SORT] main starts on core[%x,%d] / %d thread(s) / %d values\n", 253 main_cxy, main_lid, threads, ARRAY_LENGTH ); 255 254 256 255 // Barrier initialization
Note: See TracChangeset
for help on using the changeset viewer.