mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
27 lines
478 B
C++
27 lines
478 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/os_interface/os_library.h"
|
|
|
|
namespace NEO {
|
|
namespace Linux {
|
|
|
|
class OsLibrary : public NEO::OsLibrary {
|
|
private:
|
|
void *handle;
|
|
|
|
public:
|
|
OsLibrary(const std::string &name);
|
|
~OsLibrary() override;
|
|
|
|
bool isLoaded() override;
|
|
void *getProcAddress(const std::string &procName) override;
|
|
};
|
|
} // namespace Linux
|
|
} // namespace NEO
|