Class ComputeInfo
Represents information about the compute capabilities of the GPU.
Inherited Members
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 |