File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,6 @@ HRESULT CreateSession(LearningModelSession& session, IDirect3DDevice& winrtDevic
190190
191191 THROW_IF_FAILED (spFactory->GetAdapterList (dxGUIDs, ARRAYSIZE (dxGUIDs), spAdapterList.put ()));
192192
193- std::map<int , com_ptr<IDXCoreAdapter>> validAdapters;
194193 std::wstring_convert<std::codecvt_utf8_utf16<wchar_t >> converter;
195194 std::string adapterNameStr = converter.to_bytes (adapterName);
196195 com_ptr<IDXCoreAdapter> spAdapter = nullptr ;
@@ -213,7 +212,6 @@ HRESULT CreateSession(LearningModelSession& session, IDirect3DDevice& winrtDevic
213212 if (isHardware)
214213 {
215214 printf (" Description: %s\n " , driverDescription);
216- validAdapters[i] = currAdapter;
217215 }
218216 if (!adapterName.empty () && !chosenAdapterFound)
219217 {
You can’t perform that action at this time.
0 commit comments