mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

Related-To: NEO-4457 Change-Id: I6d4dcced724c56ea350e27eb9494f32b3299e88a Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
32 lines
620 B
C++
32 lines
620 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "shared/source/os_interface/driver_info.h"
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
namespace NEO {
|
|
|
|
class SettingsReader;
|
|
|
|
class DriverInfoWindows : public DriverInfo {
|
|
public:
|
|
DriverInfoWindows(std::string &&path);
|
|
std::string getDeviceName(std::string defaultName);
|
|
std::string getVersion(std::string defaultVersion);
|
|
|
|
protected:
|
|
static std::string trimRegistryKey(std::string key);
|
|
const std::string path;
|
|
std::unique_ptr<SettingsReader> registryReader;
|
|
};
|
|
|
|
} // namespace NEO
|