docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)