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

32 lines
589 B
C
Raw Normal View History

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "opencl/source/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