spec.benchmarks.scimark.utils
Class kernel
java.lang.Object
spec.benchmarks.scimark.utils.kernel
public class kernel
- extends java.lang.Object
Method Summary |
static void |
checkResults(java.lang.String expectedValue,
java.lang.String gottenValue,
int loop)
|
static void |
CopyMatrix(double[][] B,
double[][] A)
|
static void |
CopyVector(double[] B,
double[] A)
|
static void |
init()
|
static double[] |
matvec(double[][] A,
double[] x)
|
static void |
matvec(double[][] A,
double[] x,
double[] y)
|
static double[] |
NewVectorCopy(double[] x)
|
static double |
normabs(double[] x,
double[] y)
|
static double[][] |
RandomizeMatrix(double[][] A,
Random R)
|
static double[] |
RandomizeVector(double[] A,
Random R)
|
static double[][] |
RandomMatrix(int M,
int N,
Random R)
|
static double[] |
RandomVector(int N,
Random R)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CURRENT_FFT_SIZE
public static int CURRENT_FFT_SIZE
CURRENT_SOR_SIZE
public static int CURRENT_SOR_SIZE
CURRENT_SPARSE_SIZE_M
public static int CURRENT_SPARSE_SIZE_M
CURRENT_SPARSE_SIZE_nz
public static int CURRENT_SPARSE_SIZE_nz
CURRENT_LU_SIZE
public static int CURRENT_LU_SIZE
CURRENT_FFT_RESULT
public static java.lang.String CURRENT_FFT_RESULT
CURRENT_LU_RESULT
public static java.lang.String CURRENT_LU_RESULT
CURRENT_SOR_RESULT
public static java.lang.String CURRENT_SOR_RESULT
CURRENT_SPARSE_RESULT
public static java.lang.String CURRENT_SPARSE_RESULT
LU_LOOPS
public static int LU_LOOPS
FFT_LOOPS
public static int FFT_LOOPS
SOR_LOOPS
public static int SOR_LOOPS
SPARSE_LOOPS
public static int SPARSE_LOOPS
MC_LOOPS
public static int MC_LOOPS
kernel
public kernel()
NewVectorCopy
public static double[] NewVectorCopy(double[] x)
CopyVector
public static void CopyVector(double[] B,
double[] A)
normabs
public static double normabs(double[] x,
double[] y)
CopyMatrix
public static void CopyMatrix(double[][] B,
double[][] A)
RandomizeMatrix
public static double[][] RandomizeMatrix(double[][] A,
Random R)
RandomMatrix
public static double[][] RandomMatrix(int M,
int N,
Random R)
RandomVector
public static double[] RandomVector(int N,
Random R)
RandomizeVector
public static double[] RandomizeVector(double[] A,
Random R)
matvec
public static double[] matvec(double[][] A,
double[] x)
matvec
public static void matvec(double[][] A,
double[] x,
double[] y)
init
public static void init()
checkResults
public static final void checkResults(java.lang.String expectedValue,
java.lang.String gottenValue,
int loop)