Documentation
¶
Overview ¶
Package runner defines how default benchmark samples are executed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct { Engine akita.Engine GPUDriver *driver.Driver KernelTimeCounter *tracing.BusyTimeTracer PerGPUKernelTimeCounter []*tracing.BusyTimeTracer InstCountTracers []instCountTracer CacheLatencyTracers []cacheLatencyTracer CacheHitRateTracers []cacheHitRateTracer RDMATransactionCounters []rdmaTransactionCountTracer DRAMTracers []dramTransactionCountTracer Benchmarks []benchmarks.Benchmark Timing bool Verify bool Parallel bool ReportInstCount bool ReportCacheLatency bool ReportCacheHitRate bool ReportRDMATransactionCount bool ReportDRAMTransactionCount bool UseUnifiedMemory bool GPUIDs []int // contains filtered or unexported fields }
Runner is a class that helps running the benchmarks in the official samples.
func (*Runner) AddBenchmark ¶
func (r *Runner) AddBenchmark(b benchmarks.Benchmark)
AddBenchmark adds an benchmark that the driver runs
func (*Runner) AddBenchmarkWithoutSettingGPUsToUse ¶
func (r *Runner) AddBenchmarkWithoutSettingGPUsToUse(b benchmarks.Benchmark)
AddBenchmarkWithoutSettingGPUsToUse allows for user specified GPUs for the benchmark to run.
Click to show internal directories.
Click to hide internal directories.