diff options
author | Xianyi Zhang <traits.zhang@gmail.com> | 2011-01-24 18:11:35 +0000 |
---|---|---|
committer | Xianyi Zhang <traits.zhang@gmail.com> | 2011-01-24 18:11:35 +0000 |
commit | 066465af5ba3d2bed33324a68110249770910427 (patch) | |
tree | 7c129a3545cec97a9ec129613a223a20bf1b2f5f /ctest | |
parent | e6c13e2b3c464c976f381dfb89d4c329cd73177c (diff) | |
download | openblas-066465af5ba3d2bed33324a68110249770910427.tar.gz openblas-066465af5ba3d2bed33324a68110249770910427.tar.bz2 openblas-066465af5ba3d2bed33324a68110249770910427.zip |
Used the environment variable OPENBLAS_NUM_THREADS to set the number of threads in test.
Diffstat (limited to 'ctest')
-rw-r--r-- | ctest/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ctest/Makefile b/ctest/Makefile index 3cd6cc82c..c15a68109 100644 --- a/ctest/Makefile +++ b/ctest/Makefile @@ -36,22 +36,22 @@ ztestl3o = c_zblas3.o c_z3chke.o auxiliary.o c_xerbla.o constant.o all :: all1 all2 all3 all1: xscblat1 xdcblat1 xccblat1 xzcblat1 - GOTO_NUM_THREADS=2 ./xscblat1 - GOTO_NUM_THREADS=2 ./xdcblat1 - GOTO_NUM_THREADS=2 ./xccblat1 - GOTO_NUM_THREADS=2 ./xzcblat1 + OPENBLAS_NUM_THREADS=2 ./xscblat1 + OPENBLAS_NUM_THREADS=2 ./xdcblat1 + OPENBLAS_NUM_THREADS=2 ./xccblat1 + OPENBLAS_NUM_THREADS=2 ./xzcblat1 all2: xscblat2 xdcblat2 xccblat2 xzcblat2 - GOTO_NUM_THREADS=2 ./xscblat2 < sin2 - GOTO_NUM_THREADS=2 ./xdcblat2 < din2 - GOTO_NUM_THREADS=2 ./xccblat2 < cin2 - GOTO_NUM_THREADS=2 ./xzcblat2 < zin2 + OPENBLAS_NUM_THREADS=2 ./xscblat2 < sin2 + OPENBLAS_NUM_THREADS=2 ./xdcblat2 < din2 + OPENBLAS_NUM_THREADS=2 ./xccblat2 < cin2 + OPENBLAS_NUM_THREADS=2 ./xzcblat2 < zin2 all3: xscblat3 xdcblat3 xccblat3 xzcblat3 - GOTO_NUM_THREADS=2 ./xscblat3 < sin3 - GOTO_NUM_THREADS=2 ./xdcblat3 < din3 - GOTO_NUM_THREADS=2 ./xccblat3 < cin3 - GOTO_NUM_THREADS=2 ./xzcblat3 < zin3 + OPENBLAS_NUM_THREADS=2 ./xscblat3 < sin3 + OPENBLAS_NUM_THREADS=2 ./xdcblat3 < din3 + OPENBLAS_NUM_THREADS=2 ./xccblat3 < cin3 + OPENBLAS_NUM_THREADS=2 ./xzcblat3 < zin3 clean :: rm -f x* |