Commit a20a516a authored by Matthieu Boileau's avatar Matthieu Boileau

Add shape output

parent 18291d91
virtualenv openblas
source openblas/bin/activate
mkdir openblas/download
mkdir openblas/build
cd openblas/download
cd ../build/
tar xf ../download/numpy-1.14.0.tar.gz
cd numpy-1.14.0
cat > site.cfg <<EOL
library_dirs= /usr/lib/openblas-base
atlas_libs = openblas
pip install .
!_TAG_FILE_SORTED 2 /0=unsorted, 1=sorted, 2=foldcase/
......@@ -41,6 +41,8 @@ def timer(func, comment=None):
if __name__ == '__main__':
print("Running with a of size =", a.shape)
# Numpy FFT
numpy.fft.fft2 = timer(numpy.fft.fft2)
b1 = numpy.fft.fft2(a)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment