📄 readme
字号:
The FFTW Codelet GeneratorIn this directory you can find the program that generates the FFTWcodelets. You do not need to concern yourself with the codeletgenerator unless you wish to; the FFTW package is preconfigured with astandard set of codelets covering most practical problems.The codelets are optimized blocks of C code implementing transforms ofsmall sizes, which we compose to compute DFTs of general sizes. Thereare a large number of advantages to generating the codelets ratherthan writing them by hand, many of which are described in our papers(available on the FFTW web page). Suffice it to say that codegeneration allows us to use long, unrolled blocks of code containingmany optimizations that would be too tedious to apply by hand. Forexamples of what the codelets look like, look at the fn*.c and ftw*.cfiles in the fftw/ directory.The codelet generator is written in the Objective Caml language, andbefore you can do anything with it you must install the Objective Camlcompilers. You can download compilers and interpreters, and also readabout this elegant and powerful language, at: http://pauillac.inria.fr/ocaml/Once you have installed Objective Caml, you can alter the set ofcodelets (hard-coded transforms) that FFTW has to work with by editingthe file "config" and then running 'make'. This is also described inthe FFTW manual.If you are curious and/or ambitious, you may also want to look at thecodelet generator itself (the *.ml files). Some documentation isincluded in the source files, and we encourage you to contact us(fftw@fftw.org) if you have any questions.The files that you are most likely to want to edit are: fft.ml: if you want to modify the FFT algorithms that the generator uses. to_c.ml: if you want to change how the C source code is produced ("unparsed") from the symbolic expressions used internally by the generator. For example, if you wanted to alter FFTW to use high-precision arithmetic routines, you would modify to_c.ml (and possibly also number.ml, which controls how constants are expressed).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -