2003-01-20 05:58:50 +08:00
|
|
|
/*
|
|
|
|
Copyright (C) 2002 FPMD group
|
|
|
|
This file is distributed under the terms of the
|
|
|
|
GNU General Public License. See the file `License'
|
|
|
|
in the root directory of the present distribution,
|
|
|
|
or http://www.gnu.org/copyleft/gpl.txt .
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-03-01 01:16:27 +08:00
|
|
|
#if defined __T3E | defined __ABSOFT
|
2003-01-20 05:58:50 +08:00
|
|
|
|
2003-04-21 06:22:26 +08:00
|
|
|
# define FFTW_INPLACE_DRV_1D FFTW_INPLACE_DRV_1D
|
|
|
|
# define FFTW_INPLACE_DRV_2D FFTW_INPLACE_DRV_2D
|
|
|
|
# define FFTW_INPLACE_DRV_3D FFTW_INPLACE_DRV_3D
|
|
|
|
# define CREATE_PLAN_1D CREATE_PLAN_1D
|
2003-04-20 00:39:25 +08:00
|
|
|
# define CREATE_PLAN_2D CREATE_PLAN_2D
|
|
|
|
# define CREATE_PLAN_3D CREATE_PLAN_3D
|
2003-04-21 06:22:26 +08:00
|
|
|
# define DESTROY_PLAN_1D DESTROY_PLAN_1D
|
2003-04-20 00:39:25 +08:00
|
|
|
# define DESTROY_PLAN_2D DESTROY_PLAN_2D
|
|
|
|
# define DESTROY_PLAN_3D DESTROY_PLAN_3D
|
2003-01-20 05:58:50 +08:00
|
|
|
# define FFT_X_STICK FFT_X_STICK
|
|
|
|
# define FFT_XY_STICK FFT_XY_STICK
|
|
|
|
# define FFT_XY FFT_XY
|
|
|
|
# define FFT_Y_STICK FFT_Y_STICK
|
|
|
|
# define FFT_Y_STICK2 FFT_Y_STICK2
|
|
|
|
# define FFT_Z_STICK FFT_Z_STICK
|
|
|
|
# define FFT_Z FFT_Z
|
|
|
|
# define FFT_STICK FFT_STICK
|
|
|
|
# define CP_GETENV CP_GETENV
|
|
|
|
# define CP_DATE CP_DATE
|
|
|
|
# define CPFLUSH CPFLUSH
|
|
|
|
# define CPTIMER CPTIMER
|
|
|
|
# define ELAPSED_SECONDS ELAPSED_SECONDS
|
|
|
|
# define FACTOR235 FACTOR235
|
|
|
|
# define FACTOR2 FACTOR2
|
|
|
|
# define LN_ALLOC LN_ALLOC
|
|
|
|
# define LN_DEALLOC LN_DEALLOC
|
|
|
|
# define LN_SET LN_SET
|
|
|
|
# define LN_ACTIVATE LN_ACTIVATE
|
|
|
|
# define LN_IND LN_IND
|
|
|
|
# define MEMSTAT MEMSTAT
|
|
|
|
# define READOCC READOCC
|
|
|
|
# define ROUND2 ROUND2
|
|
|
|
# define MYUNITNAME MYUNITNAME
|
|
|
|
# define CP_ITOA CP_ITOA
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir
|
2003-01-20 05:58:50 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2003-09-08 16:01:14 +08:00
|
|
|
#if defined __SGI | defined __FUJITSU | defined __SX4 | defined __INTEL | defined __LAHEY || defined __SX6
|
2003-01-20 05:58:50 +08:00
|
|
|
|
2003-04-21 06:22:26 +08:00
|
|
|
# define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d_
|
|
|
|
# define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d_
|
|
|
|
# define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d_
|
|
|
|
# define CREATE_PLAN_1D create_plan_1d_
|
2003-04-20 00:39:25 +08:00
|
|
|
# define CREATE_PLAN_2D create_plan_2d_
|
|
|
|
# define CREATE_PLAN_3D create_plan_3d_
|
2003-04-21 06:22:26 +08:00
|
|
|
# define DESTROY_PLAN_1D destroy_plan_1d_
|
2003-04-20 00:39:25 +08:00
|
|
|
# define DESTROY_PLAN_2D destroy_plan_2d_
|
|
|
|
# define DESTROY_PLAN_3D destroy_plan_3d_
|
2003-01-20 05:58:50 +08:00
|
|
|
# define FFT_X_STICK fft_x_stick_
|
|
|
|
# define FFT_XY_STICK fft_xy_stick_
|
|
|
|
# define FFT_XY fft_xy_
|
|
|
|
# define FFT_Y_STICK fft_y_stick_
|
|
|
|
# define FFT_Y_STICK2 fft_y_stick2_
|
|
|
|
# define FFT_Z_STICK fft_z_stick_
|
|
|
|
# define FFT_Z fft_z_
|
|
|
|
# define FFT_STICK fft_stick_
|
|
|
|
# define CP_GETENV cp_getenv_
|
|
|
|
# define CP_DATE cp_date_
|
|
|
|
# define CPFLUSH cpflush_
|
|
|
|
# define CPTIMER cptimer_
|
|
|
|
# define ELAPSED_SECONDS elapsed_seconds_
|
|
|
|
# define CCLOCK cclock_
|
|
|
|
# define FACTOR235 factor235_
|
|
|
|
# define FACTOR2 factor2_
|
|
|
|
# define LN_ALLOC ln_alloc_
|
|
|
|
# define LN_DEALLOC ln_dealloc_
|
|
|
|
# define LN_SET ln_set_
|
|
|
|
# define LN_ACTIVATE ln_activate_
|
|
|
|
# define LN_IND ln_ind_
|
|
|
|
# define MEMSTAT memstat_
|
|
|
|
# define READOCC readocc_
|
|
|
|
# define ROUND2 round2_
|
|
|
|
# define MYUNITNAME myunitname_
|
|
|
|
# define CP_ITOA cp_itoa_
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir_
|
2003-01-20 05:58:50 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2003-02-16 23:16:33 +08:00
|
|
|
#if defined __PGI
|
2003-01-20 05:58:50 +08:00
|
|
|
|
|
|
|
# if defined __GNU_LINK
|
|
|
|
|
2003-04-21 06:22:26 +08:00
|
|
|
# define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d__
|
|
|
|
# define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d__
|
|
|
|
# define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d__
|
|
|
|
# define CREATE_PLAN_1D create_plan_1d__
|
2003-04-20 00:39:25 +08:00
|
|
|
# define CREATE_PLAN_2D create_plan_2d__
|
|
|
|
# define CREATE_PLAN_3D create_plan_3d__
|
2003-04-21 06:22:26 +08:00
|
|
|
# define DESTROY_PLAN_1D destroy_plan_1d__
|
2003-04-20 00:39:25 +08:00
|
|
|
# define DESTROY_PLAN_2D destroy_plan_2d__
|
|
|
|
# define DESTROY_PLAN_3D destroy_plan_3d__
|
2003-01-20 05:58:50 +08:00
|
|
|
# define FFT_X_STICK fft_x_stick__
|
|
|
|
# define FFT_XY_STICK fft_xy_stick__
|
|
|
|
# define FFT_XY fft_xy__
|
|
|
|
# define FFT_Y_STICK fft_y_stick__
|
|
|
|
# define FFT_Y_STICK2 fft_y_stick2__
|
|
|
|
# define FFT_Z_STICK fft_z_stick__
|
|
|
|
# define FFT_Z fft_z__
|
|
|
|
# define FFT_STICK fft_stick_
|
|
|
|
# define CP_GETENV cp_getenv_
|
|
|
|
# define CP_DATE cp_date_
|
|
|
|
# define CPFLUSH cpflush_
|
|
|
|
# define CPTIMER cptimer_
|
|
|
|
# define CCLOCK cclock_
|
|
|
|
# define ELAPSED_SECONDS elapsed_seconds_
|
|
|
|
# define FACTOR235 factor235__
|
|
|
|
# define FACTOR2 factor2__
|
|
|
|
# define LN_ALLOC ln_alloc__
|
|
|
|
# define LN_DEALLOC ln_dealloc__
|
|
|
|
# define LN_SET ln_set__
|
|
|
|
# define LN_ACTIVATE ln_activate__
|
|
|
|
# define LN_IND ln_ind__
|
|
|
|
# define MEMSTAT memstat_
|
|
|
|
# define READOCC readocc__
|
|
|
|
# define ROUND2 round2__
|
|
|
|
# define MYUNITNAME myunitname__
|
|
|
|
# define CP_ITOA cp_itoa__
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir_
|
2003-01-20 05:58:50 +08:00
|
|
|
|
|
|
|
# else
|
|
|
|
|
2003-04-21 06:22:26 +08:00
|
|
|
# define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d_
|
|
|
|
# define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d_
|
|
|
|
# define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d_
|
|
|
|
# define CREATE_PLAN_1D create_plan_1d_
|
2003-04-20 00:39:25 +08:00
|
|
|
# define CREATE_PLAN_2D create_plan_2d_
|
|
|
|
# define CREATE_PLAN_3D create_plan_3d_
|
2003-04-21 06:22:26 +08:00
|
|
|
# define DESTROY_PLAN_1D destroy_plan_1d_
|
2003-04-20 00:39:25 +08:00
|
|
|
# define DESTROY_PLAN_2D destroy_plan_2d_
|
|
|
|
# define DESTROY_PLAN_3D destroy_plan_3d_
|
2003-01-20 05:58:50 +08:00
|
|
|
# define FFT_X_STICK fft_x_stick_
|
|
|
|
# define FFT_XY_STICK fft_xy_stick_
|
|
|
|
# define FFT_XY fft_xy_
|
|
|
|
# define FFT_Y_STICK fft_y_stick_
|
|
|
|
# define FFT_Y_STICK2 fft_y_stick2_
|
|
|
|
# define FFT_Z_STICK fft_z_stick_
|
|
|
|
# define FFT_Z fft_z_
|
|
|
|
# define FFT_STICK fft_stick_
|
|
|
|
# define CP_GETENV cp_getenv_
|
|
|
|
# define CP_DATE cp_date_
|
|
|
|
# define CPFLUSH cpflush_
|
|
|
|
# define CPTIMER cptimer_
|
|
|
|
# define ELAPSED_SECONDS elapsed_seconds_
|
|
|
|
# define CCLOCK cclock_
|
|
|
|
# define FACTOR235 factor235_
|
|
|
|
# define FACTOR2 factor2_
|
|
|
|
# define LN_ALLOC ln_alloc_
|
|
|
|
# define LN_DEALLOC ln_dealloc_
|
|
|
|
# define LN_SET ln_set_
|
|
|
|
# define LN_ACTIVATE ln_activate_
|
|
|
|
# define LN_IND ln_ind_
|
|
|
|
# define MEMSTAT memstat_
|
|
|
|
# define READOCC readocc_
|
|
|
|
# define ROUND2 round2_
|
|
|
|
# define MYUNITNAME myunitname_
|
|
|
|
# define CP_ITOA cp_itoa_
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir_
|
2003-01-20 05:58:50 +08:00
|
|
|
|
|
|
|
# endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __AIX
|
|
|
|
|
2003-04-21 06:22:26 +08:00
|
|
|
# define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d
|
|
|
|
# define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d
|
|
|
|
# define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d
|
2003-01-20 05:58:50 +08:00
|
|
|
# define CP_GETENV cp_getenv
|
|
|
|
# define CP_DATE cp_date
|
2003-04-20 00:39:25 +08:00
|
|
|
# define CREATE_PLAN_2D create_plan_2d
|
|
|
|
# define CREATE_PLAN_3D create_plan_3d
|
2003-04-21 06:22:26 +08:00
|
|
|
# define CREATE_PLAN_1D create_plan_1d
|
|
|
|
# define DESTROY_PLAN_1D destroy_plan_1d
|
2003-04-20 00:39:25 +08:00
|
|
|
# define DESTROY_PLAN_2D destroy_plan_2d
|
|
|
|
# define DESTROY_PLAN_3D destroy_plan_3d
|
2003-01-20 05:58:50 +08:00
|
|
|
# define FFT_X_STICK fft_x_stick
|
|
|
|
# define FFT_XY_STICK fft_xy_stick
|
|
|
|
# define FFT_XY fft_xy
|
|
|
|
# define FFT_Y_STICK fft_y_stick
|
|
|
|
# define FFT_Y_STICK2 fft_y_stick2
|
|
|
|
# define FFT_Z_STICK fft_z_stick
|
|
|
|
# define FFT_Z fft_z
|
|
|
|
# define FFT_STICK fft_stick
|
|
|
|
# define CPFLUSH cpflush
|
|
|
|
# define CPTIMER cptimer
|
|
|
|
# define ELAPSED_SECONDS elapsed_seconds
|
|
|
|
# define CCLOCK cclock
|
|
|
|
# define FACTOR235 factor235
|
|
|
|
# define FACTOR2 factor2
|
|
|
|
# define LN_ALLOC ln_alloc
|
|
|
|
# define LN_DEALLOC ln_dealloc
|
|
|
|
# define LN_SET ln_set
|
|
|
|
# define LN_ACTIVATE ln_activate
|
|
|
|
# define LN_IND ln_ind
|
|
|
|
# define MEMSTAT memstat
|
|
|
|
# define READOCC readocc
|
|
|
|
# define ROUND2 round2
|
|
|
|
# define MYUNITNAME myunitname
|
|
|
|
# define CP_ITOA cp_itoa
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir
|
2003-01-20 05:58:50 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2003-06-12 19:23:17 +08:00
|
|
|
#if defined __ALPHA
|
2003-01-20 05:58:50 +08:00
|
|
|
|
2003-04-21 06:22:26 +08:00
|
|
|
# define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d_
|
|
|
|
# define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d_
|
|
|
|
# define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d_
|
2003-04-20 00:39:25 +08:00
|
|
|
# define CREATE_PLAN_2D create_plan_2d_
|
|
|
|
# define CREATE_PLAN_3D create_plan_3d_
|
2003-04-21 06:22:26 +08:00
|
|
|
# define CREATE_PLAN_1D create_plan_1d_
|
|
|
|
# define DESTROY_PLAN_1D destroy_plan_1d_
|
2003-04-20 00:39:25 +08:00
|
|
|
# define DESTROY_PLAN_2D destroy_plan_2d_
|
|
|
|
# define DESTROY_PLAN_3D destroy_plan_3d_
|
2003-04-18 06:10:24 +08:00
|
|
|
# define FFT_X_STICK fft_x_stick_
|
|
|
|
# define FFT_XY_STICK fft_xy_stick_
|
|
|
|
# define FFT_XY fft_xy_
|
|
|
|
# define FFT_Y_STICK fft_y_stick_
|
|
|
|
# define FFT_Y_STICK2 fft_y_stick2_
|
|
|
|
# define FFT_Z_STICK fft_z_stick_
|
|
|
|
# define FFT_Z fft_z_
|
|
|
|
# define FFT_STICK fft_stick_
|
|
|
|
# define CP_GETENV cp_getenv_
|
|
|
|
# define CP_DATE cp_date_
|
|
|
|
# define CPFLUSH cpflush_
|
|
|
|
# define CPTIMER cptimer_
|
|
|
|
# define ELAPSED_SECONDS elapsed_seconds_
|
|
|
|
# define CCLOCK cclock_
|
|
|
|
# define FACTOR235 factor235_
|
|
|
|
# define FACTOR2 factor2_
|
|
|
|
# define LN_ALLOC ln_alloc_
|
|
|
|
# define LN_DEALLOC ln_dealloc_
|
|
|
|
# define LN_SET ln_set_
|
|
|
|
# define LN_ACTIVATE ln_activate_
|
|
|
|
# define LN_IND ln_ind_
|
|
|
|
# define MEMSTAT memstat_
|
|
|
|
# define READOCC readocc_
|
|
|
|
# define ROUND2 round2_
|
|
|
|
# define MYUNITNAME myunitname_
|
|
|
|
# define CP_ITOA cp_itoa_
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir_
|
2003-01-20 05:58:50 +08:00
|
|
|
|
2003-04-18 06:10:24 +08:00
|
|
|
#endif
|
|
|
|
|
2003-06-12 19:23:17 +08:00
|
|
|
#if defined __ALPHA && defined __LINUX
|
2003-01-20 05:58:50 +08:00
|
|
|
|
2003-04-21 06:22:26 +08:00
|
|
|
# define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d_
|
|
|
|
# define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d_
|
|
|
|
# define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d_
|
|
|
|
# define CREATE_PLAN_1D create_plan_1d_
|
|
|
|
# define DESTROY_PLAN_1D destroy_plan_1d__
|
2003-04-20 00:39:25 +08:00
|
|
|
# define CREATE_PLAN_2D create_plan_2d_
|
|
|
|
# define CREATE_PLAN_3D create_plan_3d_
|
|
|
|
# define DESTROY_PLAN_2D destroy_plan_2d_
|
|
|
|
# define DESTROY_PLAN_3D destroy_plan_3d_
|
2003-01-20 05:58:50 +08:00
|
|
|
# define FFT_X_STICK fft_x_stick__
|
|
|
|
# define FFT_XY_STICK fft_xy_stick_
|
|
|
|
# define FFT_XY fft_xy_
|
|
|
|
# define FFT_Y_STICK fft_y_stick__
|
|
|
|
# define FFT_Y_STICK2 fft_y_stick2_
|
|
|
|
# define FFT_Z_STICK fft_z_stick__
|
|
|
|
# define FFT_Z fft_z_
|
|
|
|
# define FFT_STICK fft_stick_
|
|
|
|
# define CP_GETENV cp_getenv_
|
|
|
|
# define CP_DATE cp_date_
|
|
|
|
# define CPFLUSH cpflush_
|
|
|
|
# define CPTIMER cptimer_
|
|
|
|
# define ELAPSED_SECONDS elapsed_seconds_
|
|
|
|
# define CCLOCK cclock_
|
|
|
|
# define FACTOR235 factor235_
|
|
|
|
# define FACTOR2 factor2_
|
|
|
|
# define LN_ALLOC ln_alloc__
|
|
|
|
# define LN_DEALLOC ln_dealloc__
|
|
|
|
# define LN_SET ln_set__
|
|
|
|
# define LN_ACTIVATE ln_activate__
|
|
|
|
# define LN_IND ln_ind__
|
|
|
|
# define MEMSTAT memstat_
|
|
|
|
# define READOCC readocc_
|
|
|
|
# define ROUND2 round2_
|
|
|
|
# define MYUNITNAME myunitname_
|
|
|
|
# define CP_ITOA cp_itoa_
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir_
|
2003-01-20 05:58:50 +08:00
|
|
|
|
|
|
|
#endif
|
2003-04-18 06:10:24 +08:00
|
|
|
|
2003-10-04 01:30:09 +08:00
|
|
|
#if defined __HP
|
|
|
|
|
|
|
|
# define FFTW_INPLACE_DRV_1D fftw_inplace_drv_1d
|
|
|
|
# define FFTW_INPLACE_DRV_2D fftw_inplace_drv_2d
|
|
|
|
# define FFTW_INPLACE_DRV_3D fftw_inplace_drv_3d
|
|
|
|
# define CP_GETENV cp_getenv
|
|
|
|
# define CP_DATE cp_date
|
|
|
|
# define CREATE_PLAN_2D create_plan_2d
|
|
|
|
# define CREATE_PLAN_3D create_plan_3d
|
|
|
|
# define CREATE_PLAN_1D create_plan_1d
|
|
|
|
# define DESTROY_PLAN_1D destroy_plan_1d
|
|
|
|
# define DESTROY_PLAN_2D destroy_plan_2d
|
|
|
|
# define DESTROY_PLAN_3D destroy_plan_3d
|
|
|
|
# define FFT_X_STICK fft_x_stick
|
|
|
|
# define FFT_XY_STICK fft_xy_stick
|
|
|
|
# define FFT_XY fft_xy
|
|
|
|
# define FFT_Y_STICK fft_y_stick
|
|
|
|
# define FFT_Y_STICK2 fft_y_stick2
|
|
|
|
# define FFT_Z_STICK fft_z_stick
|
|
|
|
# define FFT_Z fft_z
|
|
|
|
# define FFT_STICK fft_stick
|
|
|
|
# define CPFLUSH cpflush
|
|
|
|
# define CPTIMER cptimer
|
|
|
|
# define ELAPSED_SECONDS elapsed_seconds
|
|
|
|
# define CCLOCK cclock
|
|
|
|
# define FACTOR235 factor235
|
|
|
|
# define FACTOR2 factor2
|
|
|
|
# define LN_ALLOC ln_alloc
|
|
|
|
# define LN_DEALLOC ln_dealloc
|
|
|
|
# define LN_SET ln_set
|
|
|
|
# define LN_ACTIVATE ln_activate
|
|
|
|
# define LN_IND ln_ind
|
|
|
|
# define MEMSTAT memstat
|
|
|
|
# define READOCC readocc
|
|
|
|
# define ROUND2 round2
|
|
|
|
# define MYUNITNAME myunitname
|
|
|
|
# define CP_ITOA cp_itoa
|
2003-11-06 00:32:09 +08:00
|
|
|
# define C_MKDIR c_mkdir
|
2003-10-04 01:30:09 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|