Class MLCDevice

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MLCDevice
extends NSObject
Since:
Available in iOS 14.0 and later.
  • Constructor Details

    • MLCDevice

      public MLCDevice()
    • MLCDevice

      protected MLCDevice​(NSObject.Handle h, long handle)
    • MLCDevice

      protected MLCDevice​(NSObject.SkipInit skipInit)
    • MLCDevice

      public MLCDevice​(MLCDeviceType type)
    • MLCDevice

      public MLCDevice​(MLCDeviceType type, boolean selectsMultipleComputeDevices)
      Since:
      Available in iOS 14.5 and later.
    • MLCDevice

      public MLCDevice​(NSArray<?> gpus)
  • Method Details

    • getType

      public MLCDeviceType getType()
    • getActualDeviceType

      public MLCDeviceType getActualDeviceType()
      Since:
      Available in iOS 15.0 and later.
    • getGpuDevices

      public NSArray<?> getGpuDevices()
    • cpuDevice

      public static MLCDevice cpuDevice()
    • gpuDevice

      public static MLCDevice gpuDevice()
    • aneDevice

      public static MLCDevice aneDevice()
      Since:
      Available in iOS 15.0 and later.
    • create

      protected static long create​(MLCDeviceType type)
    • create

      protected static long create​(MLCDeviceType type, boolean selectsMultipleComputeDevices)
      Since:
      Available in iOS 14.5 and later.
    • create

      protected static long create​(NSArray<?> gpus)