benchmark/scripts/SCIPY/dsyrk.py: Allocate `C` using zeros instead of randomly generating it.
This commit is contained in:
parent
692d9c881c
commit
c10b1f555d
|
@ -4,13 +4,14 @@ import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import numpy
|
import numpy
|
||||||
|
from numpy import zeros
|
||||||
from numpy.random import randn
|
from numpy.random import randn
|
||||||
from scipy.linalg import blas
|
from scipy.linalg import blas
|
||||||
|
|
||||||
def run_dsyrk(N,l):
|
def run_dsyrk(N,l):
|
||||||
|
|
||||||
A = randn(N,N).astype('float64')
|
A = randn(N,N).astype('float64')
|
||||||
C = randn(N,N).astype('float64')
|
C = zeros((N,N), dtype='float64')
|
||||||
|
|
||||||
|
|
||||||
start = time.time();
|
start = time.time();
|
||||||
|
|
Loading…
Reference in New Issue