Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishwar Raut committed Nov 19, 2024
1 parent 0595663 commit 02f6b3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ NvDmlExecutionProvider::NvDmlExecutionProvider(ID3D12Device* d3d12Device, ID3D12

NvDmlExecutionProvider::~NvDmlExecutionProvider() {
ComPtr<ID3D12Device> d3d12_device;
ORT_THROW_IF_FAILED(cmd_queue_->GetDevice(IID_PPV_ARGS(&d3d12_device)));
ORT_THROW_IF_FAILED(m_commandQueue->GetDevice(IID_PPV_ARGS(&d3d12_device)));
ORT_THROW_IF_FAILED(d3d12_device->SetPrivateDataInterface(dml_execution_context_guid, nullptr));
}

Expand Down

0 comments on commit 02f6b3a

Please sign in to comment.