summaryrefslogtreecommitdiff
path: root/math/fftw3/files/extrapatch-tests_fftw-bench.c
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2016-10-26 00:16:09 +0000
committerJason E. Hale <jhale@FreeBSD.org>2016-10-26 00:16:09 +0000
commitd0cd21ef75575d4dc24a04dc986dbdae6901ca61 (patch)
tree52ba366fc9e523a7dfe09e7a080b5e0d10485bee /math/fftw3/files/extrapatch-tests_fftw-bench.c
parent- Update to 2.8 (diff)
- Update to 3.3.5
- Add SIMD option to easily toggle cpu optimizations (ON by default) - Add OPENMPI option to build the MPI libraries (OFF by default) [1] - Strip slave port binaries - Take maintainership PR: 203847 [1] Submitted by: <dieterich@ogolem.org> [1]
Notes
Notes: svn path=/head/; revision=424661
Diffstat (limited to 'math/fftw3/files/extrapatch-tests_fftw-bench.c')
-rw-r--r--math/fftw3/files/extrapatch-tests_fftw-bench.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/fftw3/files/extrapatch-tests_fftw-bench.c b/math/fftw3/files/extrapatch-tests_fftw-bench.c
new file mode 100644
index 000000000000..4fc77df82dfe
--- /dev/null
+++ b/math/fftw3/files/extrapatch-tests_fftw-bench.c
@@ -0,0 +1,11 @@
+Fix regression tests when OPENMP option is enabled.
+--- tests/fftw-bench.c.orig 2016-10-25 22:27:48 UTC
++++ tests/fftw-bench.c
+@@ -110,7 +110,6 @@ void rdwisdom(void)
+ if (threads_ok) {
+ BENCH_ASSERT(FFTW(init_threads)());
+ FFTW(plan_with_nthreads)(nthreads);
+- FFTW(make_planner_thread_safe)();
+ #ifdef _OPENMP
+ omp_set_num_threads(nthreads);
+ #endif