Source code:
12git clone https://github.com/xianyi/OpenBLAS.gitgit reset --hard d4da3fbBuild:
1234cd OpenBLASmake TARGET=ARMV8 BINARY=64cd benchmarkmake TARGET=ARMV8 BINARY=64Test:
12345678910cd OpenBLAScd benchmarkexport OPENBLAS_NUM_THREADS=1taskset -c 0 ./sgemm.goto 200 4000 200export OPENBLAS_NUM_THREADS=10taskset -c 0-9 ./sgemm.goto 200 4000 200export OPENBLAS_NUM_THREADS=32taskset -c 0-31 ./sgemm.goto 200 4000 200export OPENBLAS_NUM_THREADS=64taskset -c 0-63 ./sgemm.goto 200 4000 200
热评文章