m=1; n=1000; A=rand(n); B=rand(n); tic; for i=1:m; C=A*B; A=C*B; end; t=toc; GFLOPS=n^3*m*2*2/t/1e9
CPU | OS | Octave | libblas | GFLOPS |
---|---|---|---|---|
Intel Core 2 Duo E6600 | Windows XP Pro SP3 | Octave3.6.4_gcc4.6.2_20130408 | libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_dynamicarch_nt4 | 11.378 |
Intel Core i7 920 | Windows 7 Ultimate 64 bit | Octave3.6.4_gcc4.6.2_20130408 | libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_dynamicarch_nt4 | 24.241 |
Intel Core i7 920 | Windows 7 Ultimate 64 bit | octave-4.2.0-w64 | librefblas.dll | 2.3837 |
Intel Core i7 920 | Windows 7 Ultimate 64 bit | octave-4.2.0-w64 | libopenblas.dll | 21.163 |
(gimp-image-crop imageid 558 399 4 30)imageid は以下の方法で得られる。
(cadr (gimp-image-list))