benchmark/scripts/SCIPY/ssyrk.py: Allocate `C` using zeros instead of randomly generating it.

This commit is contained in:
John Kirkham 2016-01-19 12:32:26 -05:00
parent c10b1f555d
commit 8b981e41a1
1 changed files with 2 additions and 1 deletions

View File

@ -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();