annotate src/fftw-3.3.5/dft/scalar/codelets/Makefile.am @ 84:08ae793730bd

Add null config files
author Chris Cannam
date Mon, 02 Mar 2020 14:03:47 +0000
parents 2cd0e3b3e1fd
children
rev   line source
Chris@42 1 # This Makefile.am specifies a set of codelets, efficient transforms
Chris@42 2 # of small sizes, that are used as building blocks (kernels) by FFTW
Chris@42 3 # to build up large transforms, as well as the options for generating
Chris@42 4 # and compiling them.
Chris@42 5
Chris@42 6 # You can customize FFTW for special needs, e.g. to handle certain
Chris@42 7 # sizes more efficiently, by adding new codelets to the lists of those
Chris@42 8 # included by default. If you change the list of codelets, any new
Chris@42 9 # ones you added will be automatically generated when you run the
Chris@42 10 # bootstrap script (see "Generating your own code" in the FFTW
Chris@42 11 # manual).
Chris@42 12
Chris@42 13 ###########################################################################
Chris@42 14 AM_CPPFLAGS = -I$(top_srcdir)/kernel -I$(top_srcdir)/dft \
Chris@42 15 -I$(top_srcdir)/dft/scalar
Chris@42 16 noinst_LTLIBRARIES = libdft_scalar_codelets.la
Chris@42 17
Chris@42 18 ###########################################################################
Chris@42 19 # n1_<n> is a hard-coded FFT of size <n> (base cases of FFT recursion)
Chris@42 20 N1 = n1_2.c n1_3.c n1_4.c n1_5.c n1_6.c n1_7.c n1_8.c n1_9.c n1_10.c \
Chris@42 21 n1_11.c n1_12.c n1_13.c n1_14.c n1_15.c n1_16.c n1_32.c n1_64.c \
Chris@42 22 n1_20.c n1_25.c # n1_30.c n1_40.c n1_50.c
Chris@42 23
Chris@42 24 ###########################################################################
Chris@42 25 # t1_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIT step
Chris@42 26 T1 = t1_2.c t1_3.c t1_4.c t1_5.c t1_6.c t1_7.c t1_8.c t1_9.c \
Chris@42 27 t1_10.c t1_12.c t1_15.c t1_16.c t1_32.c t1_64.c \
Chris@42 28 t1_20.c t1_25.c # t1_30.c t1_40.c t1_50.c
Chris@42 29
Chris@42 30 # t2_<r> is also a twiddle FFT, but instead of using a complete lookup table
Chris@42 31 # of trig. functions, it partially generates the trig. values on the fly
Chris@42 32 # (this is faster for large sizes).
Chris@42 33 T2 = t2_4.c t2_8.c t2_16.c t2_32.c t2_64.c \
Chris@42 34 t2_5.c t2_10.c t2_20.c t2_25.c
Chris@42 35
Chris@42 36 ###########################################################################
Chris@42 37 # The F (DIF) codelets are used for a kind of in-place transform algorithm,
Chris@42 38 # but the planner seems to never (or hardly ever) use them on the machines
Chris@42 39 # we have access to, preferring the Q codelets and the use of buffers
Chris@42 40 # for sub-transforms. So, we comment them out, at least for now.
Chris@42 41
Chris@42 42 # f1_<r> is a "twiddle" FFT of size <r>, implementing a radix-r DIF step
Chris@42 43 F1 = # f1_2.c f1_3.c f1_4.c f1_5.c f1_6.c f1_7.c f1_8.c f1_9.c f1_10.c f1_12.c f1_15.c f1_16.c f1_32.c f1_64.c
Chris@42 44
Chris@42 45 # like f1, but partially generates its trig. table on the fly
Chris@42 46 F2 = # f2_4.c f2_8.c f2_16.c f2_32.c f2_64.c
Chris@42 47
Chris@42 48 ###########################################################################
Chris@42 49 # q1_<r> is <r> twiddle FFTs of size <r> (DIF step), where the output is
Chris@42 50 # transposed. This is used for in-place transposes in sizes that are
Chris@42 51 # divisible by <r>^2. These codelets have size ~ <r>^2, so you should
Chris@42 52 # probably not use <r> bigger than 8 or so.
Chris@42 53 Q1 = q1_2.c q1_4.c q1_8.c q1_3.c q1_5.c q1_6.c
Chris@42 54
Chris@42 55 ###########################################################################
Chris@42 56 ALL_CODELETS = $(N1) $(T1) $(T2) $(F1) $(F2) $(Q1)
Chris@42 57 BUILT_SOURCES= $(ALL_CODELETS) $(CODLIST)
Chris@42 58
Chris@42 59 libdft_scalar_codelets_la_SOURCES = $(BUILT_SOURCES)
Chris@42 60
Chris@42 61 SOLVTAB_NAME = X(solvtab_dft_standard)
Chris@42 62 XRENAME=X
Chris@42 63
Chris@42 64 # special rules for regenerating codelets.
Chris@42 65 include $(top_srcdir)/support/Makefile.codelets
Chris@42 66
Chris@42 67 if MAINTAINER_MODE
Chris@42 68 FLAGS_N1=$(DFT_FLAGS_COMMON)
Chris@42 69 FLAGS_T1=$(DFT_FLAGS_COMMON)
Chris@42 70 FLAGS_T2=$(DFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
Chris@42 71 FLAGS_F1=$(DFT_FLAGS_COMMON)
Chris@42 72 FLAGS_F2=$(DFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
Chris@42 73 FLAGS_Q1=$(DFT_FLAGS_COMMON) -reload-twiddle
Chris@42 74 FLAGS_Q2=$(DFT_FLAGS_COMMON) -twiddle-log3 -precompute-twiddles
Chris@42 75
Chris@42 76 n1_%.c: $(CODELET_DEPS) $(GEN_NOTW)
Chris@42 77 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_NOTW) $(FLAGS_N1) -n $* -name n1_$* -include "n.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@42 78
Chris@42 79 t1_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
Chris@42 80 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_T1) -n $* -name t1_$* -include "t.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@42 81
Chris@42 82 t2_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
Chris@42 83 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_T2) -n $* -name t2_$* -include "t.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@42 84
Chris@42 85 f1_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
Chris@42 86 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_F1) -dif -n $* -name f1_$* -include "f.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@42 87
Chris@42 88 f2_%.c: $(CODELET_DEPS) $(GEN_TWIDDLE)
Chris@42 89 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDDLE) $(FLAGS_F2) -dif -n $* -name f2_$* -include "f.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@42 90
Chris@42 91 q1_%.c: $(CODELET_DEPS) $(GEN_TWIDSQ)
Chris@42 92 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDSQ) $(FLAGS_Q1) -dif -n $* -name q1_$* -include "q.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@42 93
Chris@42 94 q2_%.c: $(CODELET_DEPS) $(GEN_TWIDSQ)
Chris@42 95 ($(PRELUDE_COMMANDS_DFT); $(TWOVERS) $(GEN_TWIDSQ) $(FLAGS_Q2) -dif -n $* -name q2_$* -include "q.h") | $(ADD_DATE) | $(INDENT) >$@
Chris@42 96
Chris@42 97 endif # MAINTAINER_MODE