Skip to content

Commit 7dccba5

Browse files
committed
remove microsoft basic render driver
1 parent 1a091bb commit 7dccba5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/neuralnet/ortbackend.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ void NeuralNet::printDirectMLDevices() {
397397
vAdapters[i]->GetDesc(&adapterDescription);
398398
wstring wsDeviceName(adapterDescription.Description);
399399
string deviceName(wsDeviceName.begin(), wsDeviceName.end());
400-
cout << "Found DirectML device " << i << ": " << deviceName.c_str() << endl;
400+
if(deviceName != "Microsoft Basic Render Driver"){
401+
cout << "Found DirectML device " << i << ": " << deviceName.c_str() << endl;
402+
}
401403
}
402404
}
403405
#endif

0 commit comments

Comments
 (0)