|
From: | Ceral Paquet |
Subject: | [Octave-bug-tracker] [bug #45208] mxe-octave: compile with OpenBLAS with LAPACK enabled |
Date: | Fri, 29 May 2015 19:58:07 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 Iceweasel/37.0.2 |
Follow-up Comment #2, bug #45208 (project octave): OK well it appears I am the king of erroneous bug reports this week. Sorry about that :( This is what I ran: getenv('OPENBLAS_NUM_THREADS') A=randn(4000); tic;AA=A'*A;toc tic;chol(AA);toc tic;svd(A);toc and these are the timings: Compiled with NO_LAPACK=1 (current default in MXE) ------------------------- >> getenv('OPENBLAS_NUM_THREADS') ans = 1 >> A=randn(4000); >> tic;AA=A'*A;toc Elapsed time is 11.7313 seconds. >> tic;chol(AA);toc Elapsed time is 4.23956 seconds. >> tic;svd(A);toc Elapsed time is 60.8286 seconds. >> getenv('OPENBLAS_NUM_THREADS') ans = 2 >> A=randn(4000); >> tic;AA=A'*A;toc Elapsed time is 6.40621 seconds. >> tic;chol(AA);toc Elapsed time is 2.50854 seconds. >> tic;svd(A);toc Elapsed time is 47.2539 seconds. Compiled with NO_LAPACK=0 ------------------------- >> getenv('OPENBLAS_NUM_THREADS') ans = 1 >> A=randn(4000); >> tic;AA=A'*A;toc Elapsed time is 11.7115 seconds. >> tic;chol(AA);toc Elapsed time is 4.24126 seconds. >> tic;svd(A);toc Elapsed time is 60.4084 seconds. >> getenv('OPENBLAS_NUM_THREADS') ans = 2 >> A=randn(4000); >> tic;AA=A'*A;toc Elapsed time is 6.55407 seconds. >> tic;chol(AA);toc Elapsed time is 2.51173 seconds. >> tic;svd(A);toc Elapsed time is 46.6011 seconds. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?45208> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |