Changeset 636 for trunk/user/fft/fft.c


Ignore:
Timestamp:
Jul 1, 2019, 9:34:16 AM (5 years ago)
Author:
alain
Message:

Fix a bug in list_remote_add_first() and list_remote_add_last() functions,
used by the physical memory allocator, that corrupted the PPM state.

File:
1 edited

Legend:

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

    r635 r636  
    8787// parameters
    8888
    89 #define DEFAULT_M               8               // 256 data points
     89#define DEFAULT_M               12              // 4096 data points
    9090#define USE_DQT_BARRIER         0               // use DDT barrier if non zero
    9191#define MODE                    COSIN           // DATA array initialisation mode
     
    471471    // build file name
    472472    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 );
    474474    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 );
    476476
    477477    // build pathname
Note: See TracChangeset for help on using the changeset viewer.