File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,12 @@ The documentation of generic FFT functionality can be found in the [AbstractFFTs
31
31
## MKL
32
32
33
33
Alternatively, the FFTs in Intel's Math Kernel Library (MKL) can be used
34
- by setting an environment variable ` JULIA_FFTW_PROVIDER ` to ` MKL ` and running
35
- ` Pkg.build("FFTW") ` . MKL will be provided through ` MKL_jll ` .
36
- Setting this environment variable only needs to be done for the first build of the package;
37
- after that, the package will remember to use MKL when building and updating.
34
+ by running ` FFTW.set_provider!("mkl") ` . MKL will be provided through ` MKL_jll ` .
35
+ This change of provider is persistent and has to be done only once, i.e., the package will use MKL when building and updating.
38
36
Note however that MKL provides only a subset of the functionality provided by FFTW. See
39
37
Intel's [ documentation] ( https://software.intel.com/en-us/mkl-developer-reference-c-using-fftw3-wrappers )
40
- for more information about potential differences or gaps in functionality.
38
+ for more information about potential differences or gaps in functionality.
39
+ In case MKL does not fit the needs (anymore), ` FFTW.set_provider!("fftw") ` allows to revert the change of provider.
41
40
42
41
43
42
## License
You can’t perform that action at this time.
0 commit comments