DeviceType

public protocol DeviceType

A device, on which tensor operations can be executed.

  • Memory manager for a device

    Declaration

    Swift

    associatedtype Memory : MemoryOperatorsType
  • Tensor operation engine for a device

    Declaration

    Swift

    associatedtype Engine : EngineType where Self == Self.Engine.Device, Self.Engine.Device == Self.Memory.Device