Browse Source

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

tags/v0.2.16.rc1
John Kirkham 10 years ago
parent
commit
c10b1f555d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      benchmark/scripts/SCIPY/dsyrk.py

+ 2
- 1
benchmark/scripts/SCIPY/dsyrk.py 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_dsyrk(N,l):

A = randn(N,N).astype('float64')
C = randn(N,N).astype('float64')
C = zeros((N,N), dtype='float64')


start = time.time();


Loading…
Cancel
Save