Skip to main content

Mojo struct

GEMVAlgorithm

struct GEMVAlgorithm

Implemented traits

AnyType, Copyable, Movable, Stringable, UnknownDestructibility, Writable

Aliases

GEMV_KERNEL

alias GEMV_KERNEL = GEMVAlgorithm(0)

GEMV_KERNEL_VECTOR

alias GEMV_KERNEL_VECTOR = GEMVAlgorithm(1)

GEMV_SPLIT_K

alias GEMV_SPLIT_K = GEMVAlgorithm(2)

GEVM_KERNEL

alias GEVM_KERNEL = GEMVAlgorithm(4)

GEVM_KERNEL_VECTOR

alias GEVM_KERNEL_VECTOR = GEMVAlgorithm(3)

MATMUL_NAIVE

alias MATMUL_NAIVE = GEMVAlgorithm(5)

Methods

__eq__

__eq__(self, other: Self) -> Bool

__ne__

__ne__(self, other: Self) -> Bool

__is__

__is__(self, other: Self) -> Bool

__isnot__

__isnot__(self, other: Self) -> Bool

__str__

__str__(self) -> String

Returns the string representation of this algorithm.

Returns:

String: A human-readable string representation of the algorithm.

write_to

write_to[W: Writer](self, mut writer: W)

Was this page helpful?