Constructor GPUCommandBufferBackend
GPUCommandBufferBackend(CommandBuffer, ITensorAllocator)
Initializes and returns an instance of GPUComputeOps.
Declaration
public GPUCommandBufferBackend(CommandBuffer cb, ITensorAllocator allocator = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandBuffer | cb | The command buffer to use for scheduling. |
| ITensorAllocator | allocator | The allocator to use when allocating tensors. |
GPUCommandBufferBackend(ITensorAllocator)
Initializes and returns an instance of GPUComputeOps.
Declaration
public GPUCommandBufferBackend(ITensorAllocator allocator = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ITensorAllocator | allocator | The allocator to use when allocating tensors. |