Skip to content

Resource Cleanup  #2

@Nietaa

Description

@Nietaa

It looks like the dmlAllocatorResourceCleanup deleter in CreateTensorValueFromExistingD3DResource() never gets called (unless CreateTensor() throws an exception) since it's being released before the function returns, and serves no purpose. Thus FreeGPUAllocation() will never be called for the dml resource. There's no call for ReleaseValue() either anywhere in the code.

Same code in WinML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions