mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Simplify and format code.
Change-Id: I12bda7a76ddb377f684bfed1ef4e0f5c2ace6b0c Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
This commit is contained in:
@@ -27,7 +27,7 @@ bool DeviceFactory::getDevices(HardwareInfo **pHWInfos, size_t &numDevices, Exec
|
||||
numDevices = 0;
|
||||
|
||||
auto hardwareInfo = std::make_unique<HardwareInfo>();
|
||||
std::unique_ptr<Wddm> wddm(Wddm ::createWddm());
|
||||
std::unique_ptr<Wddm> wddm(Wddm::createWddm());
|
||||
if (!wddm->enumAdapters(*hardwareInfo)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user