Changeset 628 for trunk/user/sort
- Timestamp:
- May 6, 2019, 1:28:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/sort/sort.c
r627 r628 29 29 #include <hal_macros.h> 30 30 31 #define ARRAY_LENGTH 4096// number of items31 #define ARRAY_LENGTH 1024 // number of items 32 32 #define MAX_THREADS 1024 // 16 * 16 * 4 33 33 … … 35 35 #define DISPLAY_ARRAY 0 // display items values before and after 36 36 #define DEBUG_MAIN 1 // trace main function 37 #define DEBUG_SORT 0// trace sort function37 #define DEBUG_SORT 1 // trace sort function 38 38 #define INTERACTIVE_MODE 0 // activate idbg() during instrumentation 39 39 #define CHECK_RESULT 0 // for debug … … 337 337 338 338 #if DEBUG_MAIN 339 printf("\n[sort] main completes barrier init\n"); 339 if( USE_DQT_BARRIER ) printf("\n[sort] main completes DQT barrier init\n"); 340 else printf("\n[sort] main completes simple barrier init\n"); 340 341 #endif 341 342
Note: See TracChangeset
for help on using the changeset viewer.