summaryrefslogtreecommitdiff
path: root/Makefile.rule
diff options
context:
space:
mode:
authorTiborGY <gyori.tibor@stud.u-szeged.hu>2019-06-01 21:36:41 +0200
committerGitHub <noreply@github.com>2019-06-01 21:36:41 +0200
commit16f3df5d3551ff705d5d23dcdf26853114fb6956 (patch)
tree49bc3ea0cf7197cb3d82a05d85186565186d9e5e /Makefile.rule
parent1aded698212cca0e6fd447306ae346460cf88616 (diff)
downloadopenblas-16f3df5d3551ff705d5d23dcdf26853114fb6956.tar.gz
openblas-16f3df5d3551ff705d5d23dcdf26853114fb6956.tar.bz2
openblas-16f3df5d3551ff705d5d23dcdf26853114fb6956.zip
add c++ thread test option to Makefile.rule
Diffstat (limited to 'Makefile.rule')
-rw-r--r--Makefile.rule15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.rule b/Makefile.rule
index 7c128fb49..209934991 100644
--- a/Makefile.rule
+++ b/Makefile.rule
@@ -220,6 +220,21 @@ COMMON_PROF = -pg
# SYMBOLPREFIX=
# SYMBOLSUFFIX=
+# Run a C++ based thread safety tester after the build is done.
+# This is mostly intended as a developer feature to spot regressions, but users and
+# package maintainers can enable this if they have doubts about the thread safety of
+# the library, given the configuration in this file.
+# By default, the thread safety tester launches 52 concurrent calculations at the same
+# time.
+#
+# Please note that the test uses ~1300 MiB of RAM for the DGEMM test.
+#
+# The test requires CBLAS to be built, a C++11 capable compiler and the presence of
+# an OpenMP implementation. If you are cross-compiling this test will probably not
+# work at all.
+#
+# CPP_THREAD_SAFETY_TEST = 1
+
#
# End of user configuration
#