GPUs

public enum GPUs

GPU device related information.

  • Number of available GPU devices.

    Declaration

    Swift

    public static var count: Int { get }
  • Remap GPU devices. It supports at most 64 devices remapping. Call this method again would clear up the old remap.

    Declaration

    Swift

    public static func permute(_ ordinals: Int...)