docs.unity3d.com
    Show / Hide Table of Contents

    Class ComputeInfo

    Represents information about the compute capabilities of the GPU.

    Inheritance
    Object
    ComputeInfo
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Sentis
    Syntax
    public class ComputeInfo

    Fields

    graphicsDeviceVendor

    The vendor of the GPU.

    Declaration
    public static string graphicsDeviceVendor
    Field Value
    Type Description
    String

    maxComputeWorkGroupSize

    The maximum compute work group size the GPU supports.

    Declaration
    public static uint maxComputeWorkGroupSize
    Field Value
    Type Description
    UInt32

    supportsCompute

    Whether the GPU supports compute.

    Declaration
    public static bool supportsCompute
    Field Value
    Type Description
    Boolean

    supportsComputeSharedMemory

    Whether the GPU supports shared memory.

    Declaration
    public static bool supportsComputeSharedMemory
    Field Value
    Type Description
    Boolean

    supportsDense32x32

    Whether the GPU supports dense 32 x 32 kernels.

    Declaration
    public static bool supportsDense32x32
    Field Value
    Type Description
    Boolean

    supportsDense64x64

    Whether the GPU supports dense 64 x 64 kernels.

    Declaration
    public static bool supportsDense64x64
    Field Value
    Type Description
    Boolean

    Methods

    IsARMGPU()

    Whether the GPU is an Android ARM GPU.

    Declaration
    public static bool IsARMGPU()
    Returns
    Type Description
    Boolean

    IsiPhoneGPU()

    Whether the GPU is an iPhone GPU.

    Declaration
    public static bool IsiPhoneGPU()
    Returns
    Type Description
    Boolean

    IsMacGPU()

    Whether the GPU is an Mac GPU.

    Declaration
    public static bool IsMacGPU()
    Returns
    Type Description
    Boolean

    IsMobileGPU()

    Whether the GPU is a mobile GPU, for example Android, iPhone or Intel.

    Declaration
    public static bool IsMobileGPU()
    Returns
    Type Description
    Boolean

    IsQualcommGPU()

    Whether the GPU is an Android Qualcomm GPU.

    Declaration
    public static bool IsQualcommGPU()
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023