Changeset 636 for trunk/user
- Timestamp:
- Jul 1, 2019, 9:34:16 AM (5 years ago)
- Location:
- trunk/user
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/fft/fft.c
r635 r636 87 87 // parameters 88 88 89 #define DEFAULT_M 8 // 256 data points89 #define DEFAULT_M 12 // 4096 data points 90 90 #define USE_DQT_BARRIER 0 // use DDT barrier if non zero 91 91 #define MODE COSIN // DATA array initialisation mode … … 471 471 // build file name 472 472 if( USE_DQT_BARRIER ) 473 snprintf( name , 64 , "fft_dqt_%d_%d_%d _%d", x_size , y_size , ncores , N);473 snprintf( name , 64 , "fft_dqt_%d_%d_%d", N , x_size * y_size , ncores ); 474 474 else 475 snprintf( name , 64 , "fft_smp_%d_%d_%d _%d", x_size , y_size , ncores , N);475 snprintf( name , 64 , "fft_smp_%d_%d_%d", N , x_size * y_size , ncores ); 476 476 477 477 // build pathname -
trunk/user/ksh/ksh.c
r635 r636 6 6 // This application implements a minimal shell for ALMOS-MKH. 7 7 // 8 // This user KSHprocess contains two POSIX threads:8 // This user process contains two POSIX threads: 9 9 // - the "main" thread contains the infinite loop implementing 10 10 // the children processes termination monitoring, using the wait() syscall. … … 1186 1186 char cmd[CMD_MAX_SIZE]; // buffer for one command 1187 1187 1188 / *1. first direct command1188 // 1. first direct command 1189 1189 if( sem_wait( &semaphore ) ) 1190 1190 { … … 1199 1199 strcpy( cmd , "load bin/user/sort.elf" ); 1200 1200 execute( cmd ); 1201 */1202 1203 1204 1205 / *2. second direct command1201 // 1202 1203 1204 1205 // 2. second direct command 1206 1206 if( sem_wait( &semaphore ) ) 1207 1207 { … … 1216 1216 strcpy( cmd , "load bin/user/fft.elf" ); 1217 1217 execute( cmd ); 1218 */1218 // 1219 1219 1220 1220 -
trunk/user/sort/sort.c
r635 r636 54 54 #include <hal_macros.h> 55 55 56 #define ARRAY_LENGTH 128// number of items56 #define ARRAY_LENGTH 2048 // number of items 57 57 #define MAX_THREADS 1024 // 16 * 16 * 4 58 58
Note: See TracChangeset
for help on using the changeset viewer.