Documentation
¶
Index ¶
Constants ¶
View Source
const ( RESOLUTION_DEFAULT = 2.0 RANDOM_SEED = 101010 // default: small (cache-contained) problem sizes // FFT_SIZE = 1024 // must be a power of two SOR_SIZE = 100 // NxN grid SPARSE_SIZE_M = 1000 SPARSE_SIZE_nz = 5000 LU_SIZE = 100 // large (out-of-cache) problem sizes // LG_FFT_SIZE = 1048576 // must be a power of two LG_SOR_SIZE = 1000 // NxN grid LG_SPARSE_SIZE_M = 100000 LG_SPARSE_SIZE_nz = 1000000 LG_LU_SIZE = 1000 // tiny problem sizes (used to mainly to preload network classes // for applet, so that network download times // are factored out of benchmark.) // TINY_FFT_SIZE = 16 // must be a power of two TINY_SOR_SIZE = 10 // NxN grid TINY_SPARSE_SIZE_M = 10 TINY_SPARSE_SIZE_N = 10 TINY_SPARSE_SIZE_nz = 50 TINY_LU_SIZE = 10 )
View Source
const SEED = 113
Variables ¶
View Source
var LU_ [][]float64
Functions ¶
Types ¶
type ParallelScimark2Benchmark ¶
type ParallelScimark2Benchmark struct {
*Scimark2Benchmark
}
func NewParallelScimark2Benchmark ¶
func NewParallelScimark2Benchmark(writer utils.WriterType, printToConsole bool) *ParallelScimark2Benchmark
func (*ParallelScimark2Benchmark) BenchImplementation ¶
func (b *ParallelScimark2Benchmark) BenchImplementation() interface{}
func (*ParallelScimark2Benchmark) PopulateResult ¶
func (b *ParallelScimark2Benchmark) PopulateResult(benchResult *g.BenchResult, results interface{}) *g.BenchResult
type Scimark2Benchmark ¶
type Scimark2Benchmark struct {
*g.BenchmarkBaseBase
}
func NewScimark2Benchmark ¶
func NewScimark2Benchmark(writer utils.WriterType, printToConsole bool) *Scimark2Benchmark
func (*Scimark2Benchmark) BenchImplementation ¶
func (b *Scimark2Benchmark) BenchImplementation() interface{}
func (*Scimark2Benchmark) PopulateResult ¶
func (b *Scimark2Benchmark) PopulateResult(benchResult *g.BenchResult, scimark2Result interface{}) *g.BenchResult
func (*Scimark2Benchmark) Warmup ¶
func (b *Scimark2Benchmark) Warmup(aspect float64)
type Scimark2Result ¶
type Scimark2Result struct { Output string // contains filtered or unexported fields }
func Bench ¶
func Bench(min_time float64, isLarge bool, output utils.WriterType) *Scimark2Result
Click to show internal directories.
Click to hide internal directories.