mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Dates corrected in copyright headers to reflect original publication date (2018 for OpenCL, 2020 for Level Zero). Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
29 lines
546 B
C++
29 lines
546 B
C++
/*
|
|
* Copyright (C) 2019-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/os_interface/os_library.h"
|
|
|
|
namespace NEO {
|
|
namespace Linux {
|
|
|
|
void adjustLibraryFlags(int &dlopenFlag);
|
|
|
|
class OsLibrary : public NEO::OsLibrary {
|
|
private:
|
|
void *handle;
|
|
|
|
public:
|
|
OsLibrary(const std::string &name, std::string *errorValue);
|
|
~OsLibrary() override;
|
|
|
|
bool isLoaded() override;
|
|
void *getProcAddress(const std::string &procName) override;
|
|
};
|
|
} // namespace Linux
|
|
} // namespace NEO
|