projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10b1f5
)
benchmark/scripts/SCIPY/ssyrk.py: Allocate `C` using zeros instead of randomly genera...
author
John Kirkham
<kirkhamj@janelia.hhmi.org>
Tue, 19 Jan 2016 17:32:26 +0000
(12:32 -0500)
committer
John Kirkham
<kirkhamj@janelia.hhmi.org>
Tue, 19 Jan 2016 19:00:48 +0000
(14:00 -0500)
benchmark/scripts/SCIPY/ssyrk.py
patch
|
blob
|
history
diff --git
a/benchmark/scripts/SCIPY/ssyrk.py
b/benchmark/scripts/SCIPY/ssyrk.py
index
1dee9e2
..
c7e1bdb
100755
(executable)
--- a/
benchmark/scripts/SCIPY/ssyrk.py
+++ b/
benchmark/scripts/SCIPY/ssyrk.py
@@
-4,13
+4,14
@@
import os
import sys
import time
import numpy
+from numpy import zeros
from numpy.random import randn
from scipy.linalg import blas
def run_ssyrk(N,l):
A = randn(N,N).astype('float32')
- C =
randn(N,N).astype(
'float32')
+ C =
zeros((N,N), dtype=
'float32')
start = time.time();