Versions in this module Expand all Collapse all v3 v3.0.3 Jul 5, 2024 v3.0.2 Mar 27, 2024 v3.0.1 Mar 13, 2024 v3.0.0 Jan 30, 2024 Changes in this version + type Benchmark struct + MatrixA *Matrix + MatrixB *Matrix + MatrixC *Matrix + X uint32 + Y uint32 + Z uint32 + func NewBenchmark(driver *driver.Driver) *Benchmark + func (b *Benchmark) Run() + func (b *Benchmark) SelectGPU(gpus []int) + func (b *Benchmark) SetUnifiedMemory() + func (b *Benchmark) Verify() + type CPUMatrixMultiplier struct + func (m *CPUMatrixMultiplier) Multiply(mA, mB *Matrix) *Matrix + type GPUMatrixMultiplier struct + func NewGPUMatrixMultiplier(gpuDriver *driver.Driver, context *driver.Context) *GPUMatrixMultiplier + func (m *GPUMatrixMultiplier) Multiply(mA, mB *Matrix) *Matrix + func (m *GPUMatrixMultiplier) SelectGPU(gpus []int) + type KernelArgs struct + BlockA driver.LocalPtr + HiddenGlobalOffsetX int64 + HiddenGlobalOffsetY int64 + HiddenGlobalOffsetZ int64 + MatrixA driver.Ptr + MatrixB driver.Ptr + MatrixC driver.Ptr + WidthA uint32 + type Matrix struct + Data []float32 + Height uint32 + Width uint32 + func NewMatrix(width, height uint32) *Matrix + type MatrixMultiplier interface + Multiply func(mA, mB *Matrix) *Matrix