Documentation
¶
Overview ¶
Package spmv include the benchmark of sparse matrix-vector matiplication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Benchmark ¶
Benchmark set up test parameters
func NewBenchmark ¶
NewBenchmark creates a new benchmark
func (*Benchmark) SetUnifiedMemory ¶
func (b *Benchmark) SetUnifiedMemory()
SetUnifiedMemory uses Unified Memory
type KernelArgs ¶ added in v1.8.0
type KernelArgs struct { Val driver.GPUPtr Vec driver.GPUPtr Cols driver.GPUPtr RowDelimiters driver.GPUPtr Dim int32 // VecWidth int32 // PartialSums driver.LocalPtr Padding int32 Out driver.GPUPtr HiddenGlobalOffsetX int64 HiddenGlobalOffsetY int64 HiddenGlobalOffsetZ int64 }
KernelArgs sets up kernel arguments
Click to show internal directories.
Click to hide internal directories.