Documentation ¶
Overview ¶
Package stencil2d implements the stencil2d benchmark from the SHOC suite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
type Benchmark struct { NumIteration int NumRows, NumCols int // contains filtered or unexported fields }
Benchmark defines a benchmark
func NewBenchmark ¶
NewBenchmark returns a benchmark
func (*Benchmark) SetUnifiedMemory ¶
func (b *Benchmark) SetUnifiedMemory()
SetUnifiedMemory uses Unified Memory
type CopyRectKernelArgs ¶
type CopyRectKernelArgs struct { Dst driver.GPUPtr DOffset int32 DPitch int32 Src driver.GPUPtr SOffset int32 SPitch int32 Width int32 Height int32 HiddenGlobalOffsetX int64 HiddenGlobalOffsetY int64 HiddenGlobalOffsetZ int64 }
CopyRectKernelArgs defines kernel arguments
type StencilKernelArgs ¶
type StencilKernelArgs struct { Data driver.GPUPtr NewData driver.GPUPtr Alignment int32 WCenter float32 WCardinal float32 WDiagonal float32 Sh driver.LocalPtr Padding int32 HiddenGlobalOffsetX int64 HiddenGlobalOffsetY int64 HiddenGlobalOffsetZ int64 }
StencilKernelArgs defines kernel arguments
Click to show internal directories.
Click to hide internal directories.