spec.benchmarks.scimark.sparse
Class SparseCompRow

java.lang.Object
  extended by spec.benchmarks.scimark.sparse.SparseCompRow

public class SparseCompRow
extends java.lang.Object


Constructor Summary
SparseCompRow(int id)
           
 
Method Summary
static void main(int id)
           
 void matmult(double[] y, double[] val, int[] row, int[] col, double[] x, int NUM_ITERATIONS, int call_count)
           
 double measureSparseMatmult(int N, int nz, double min_time, Random R)
           
 double num_flops(int N, int nz, int num_iterations)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparseCompRow

public SparseCompRow(int id)
Method Detail

main

public static void main(int id)

num_flops

public double num_flops(int N,
                        int nz,
                        int num_iterations)

matmult

public void matmult(double[] y,
                    double[] val,
                    int[] row,
                    int[] col,
                    double[] x,
                    int NUM_ITERATIONS,
                    int call_count)

measureSparseMatmult

public double measureSparseMatmult(int N,
                                   int nz,
                                   double min_time,
                                   Random R)

run

public void run()