mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Changed configure's 'omp' threading to 'openmp'.
Details: - Changed the configure script so that the expected string argument to the -t (or --enable-threading=) option that enables OpenMP multithreading is 'openmp'. The previous expected string, 'omp', is still supported but should be considered deprecated.
This commit is contained in:
6
configure
vendored
6
configure
vendored
@@ -91,7 +91,7 @@ print_usage()
|
||||
echo " -t MODEL, --enable-threading[=MODEL], --disable-threading"
|
||||
echo " "
|
||||
echo " Enable threading in the library, using threading model"
|
||||
echo " MODEL={omp,pthreads,no}. If MODEL=no or "
|
||||
echo " MODEL={openmp,pthreads,no}. If MODEL=no or "
|
||||
echo " --disable-threading is specified, threading will be"
|
||||
echo " disabled. The default is 'no'."
|
||||
echo " "
|
||||
@@ -486,13 +486,15 @@ main()
|
||||
|
||||
|
||||
# Check the threading model flag.
|
||||
# NOTE: 'omp' is deprecated but still supported; 'openmp' is preferred.
|
||||
enable_openmp='no'
|
||||
enable_openmp_01=0
|
||||
enable_pthreads='no'
|
||||
enable_pthreads_01=0
|
||||
if [ "x${threading_model}" = "xauto" ]; then
|
||||
echo "${script_name}: determining the threading model automatically."
|
||||
elif [ "x${threading_model}" = "xomp" ]; then
|
||||
elif [ "x${threading_model}" = "xopenmp" ] ||
|
||||
[ "x${threading_model}" = "xomp" ]; then
|
||||
echo "${script_name}: using OpenMP for threading."
|
||||
enable_openmp='yes'
|
||||
enable_openmp_01=1
|
||||
|
||||
Reference in New Issue
Block a user