From c10b1f555d4b15fd215dca416a55ec22f099b11e Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Tue, 19 Jan 2016 12:32:14 -0500 Subject: [PATCH] benchmark/scripts/SCIPY/dsyrk.py: Allocate `C` using zeros instead of randomly generating it. --- benchmark/scripts/SCIPY/dsyrk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/scripts/SCIPY/dsyrk.py b/benchmark/scripts/SCIPY/dsyrk.py index 1ff481e4a..714b253de 100755 --- a/benchmark/scripts/SCIPY/dsyrk.py +++ b/benchmark/scripts/SCIPY/dsyrk.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_dsyrk(N,l): A = randn(N,N).astype('float64') - C = randn(N,N).astype('float64') + C = zeros((N,N), dtype='float64') start = time.time();