compute-runtime/runtime/os_interface/windows/driver_info.h

32 lines
583 B
C
Raw Normal View History

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/device/driver_info.h"
#include <memory>
#include <string>
namespace NEO {
class SettingsReader;
class DriverInfoWindows : public DriverInfo {
public:
std::string getDeviceName(std::string defaultName);
std::string getVersion(std::string defaultVersion);
void setRegistryReader(SettingsReader *reader);
std::string trimRegistryKey(std::string key);
protected:
std::unique_ptr<SettingsReader> registryReader;
};
} // namespace NEO