Skip to main content
Log in

Mojo struct

Backend

@register_passable(trivial) struct Backend

Aliases

  • AUTOMATIC = Backend(0):
  • CUBLAS = Backend(1):
  • CUBLASLT = Backend(2):
  • ROCBLAS = Backend(3):
  • HIPBLASLT = Backend(4):

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility, Writable

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)