From dfc6f7caf777d71aabfb7a578b66b86920d3180c Mon Sep 17 00:00:00 2001 From: samaid <55950596+samaid@users.noreply.github.com> Date: Mon, 27 Feb 2023 22:54:05 -0600 Subject: [PATCH 1/2] Update README.md --- README.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 9ceb7e1..8ff59b5 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,30 @@ -# FFT benchmarks for Intel(R) Distribution for Python\* +# FFT benchmarks for NumPy\* and SciPy\* -This set of benchmarks measures performance of FFT computations, serving to -highlight performance improvements to FFT computations in NumPy and SciPy in -the Intel(R) Distribution for Python\*. We provide both Python and native -(MKL DFTI) implementations of these benchmarks with similar command-line +This FFt benchmarking framework is useful to measure FFT performance of different NumPy and SciPy versions and vendors. +In addition to Python implementation we also able to benchmark native code (MKL DFTI) implementations of these benchmarks with similar command-line interfaces. ## Python benchmarks -To reproduce, install Intel(R) Distribution for Python\* as follows: +The following example create benchmarking environment for NumPy and SciPy FFT available from intel channel in conda: ```bash -conda create -n 'idp3_fft' -c intel numpy scipy -conda activate idp3_fft +conda create -n intel_env -c intel numpy scipy +conda activate intel_env ``` -To benchmark FFT in Python, execute +To run the FFT benchmark framework in Python, type ```bash python fft_bench.py [-h] [args] size ``` -The methodology is to perform one unmeasured computation, and then repeat 24 -total timings for 16 repetitions of FFT computations in the loop. The 24 +The framework perform initial warmup call to respective FFT API, and then performs 24 (default) timings +for 16 (default) repetitions of FFT computations in the loop. These 24 measurements are aggregated to report minimum, median and maximum timings, which are printed to STDOUT. -Other printed lines which start with 'TAG: ' are printed for information only, -and can be filtered out if need be. +Other printed lines which start with 'TAG: ' are printed for information purposes. ### Examples From 08cbd9442a1a5889515d003ab181077746de5d21 Mon Sep 17 00:00:00 2001 From: samaid <55950596+samaid@users.noreply.github.com> Date: Mon, 27 Feb 2023 22:54:29 -0600 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ff59b5..4354710 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # FFT benchmarks for NumPy\* and SciPy\* -This FFt benchmarking framework is useful to measure FFT performance of different NumPy and SciPy versions and vendors. +This FFF benchmarking framework is useful to measure FFT performance of different NumPy and SciPy versions and vendors. In addition to Python implementation we also able to benchmark native code (MKL DFTI) implementations of these benchmarks with similar command-line interfaces.