Class ComputeInfo
GPU compute info
Namespace: Unity.Barracuda
Syntax
public class ComputeInfo : object
Fields
channelsOrder
EXPERIMENTAL: Select Channel order of the compute backends. Production code should stick to default (NHWC) for now.
Declaration
public static ComputeInfo.ChannelsOrder channelsOrder
Field Value
| Type | Description |
|---|---|
| ComputeInfo.ChannelsOrder |
graphicsDeviceVendor
GPU vendor
Declaration
public static string graphicsDeviceVendor
Field Value
| Type | Description |
|---|---|
| String |
maxComputeWorkGroupSize
Max compute work group size supported by GPU
Declaration
public static uint maxComputeWorkGroupSize
Field Value
| Type | Description |
|---|---|
| UInt32 |
supportsCompute
GPU supports compute
Declaration
public static bool supportsCompute
Field Value
| Type | Description |
|---|---|
| Boolean |
supportsComputeSharedMemory
GPU supports shared memory
Declaration
public static bool supportsComputeSharedMemory
Field Value
| Type | Description |
|---|---|
| Boolean |
supportsDense32x32
GPU supports Dense 32x32 kernels
Declaration
public static bool supportsDense32x32
Field Value
| Type | Description |
|---|---|
| Boolean |
supportsDense64x64
GPU supports Dense 64x64 kernels
Declaration
public static bool supportsDense64x64
Field Value
| Type | Description |
|---|---|
| Boolean |