Skip to main content
Log in

Mojo struct

Backend

@register_passable(trivial) struct Backend

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility, Writable

Aliases

AUTOMATIC

alias AUTOMATIC = Backend(0)

CUBLAS

alias CUBLAS = Backend(1)

CUBLASLT

alias CUBLASLT = Backend(2)

HIPBLASLT

alias HIPBLASLT = Backend(4)

ROCBLAS

alias ROCBLAS = Backend(3)

Methods

__init__

@implicit __init__(value: Int) -> Self

__eq__

__eq__(self, other: Self) -> Bool

__ne__

__ne__(self, other: Self) -> Bool

__is__

__is__(self, other: Self) -> Bool

__isnot__

__isnot__(self, other: Self) -> Bool

__int__

__int__(self) -> Int

__str__

__str__(self) -> String

write_to

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