mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
This reverts commit 51ecef7ec2.
Change-Id: Ia654fe0d50a2144371c3def7e768ef9707419c61
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
26 lines
426 B
C++
26 lines
426 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <string>
|
|
|
|
namespace OCLRT {
|
|
|
|
class OsLibrary {
|
|
protected:
|
|
OsLibrary() = default;
|
|
|
|
public:
|
|
virtual ~OsLibrary() = default;
|
|
|
|
static OsLibrary *load(const std::string &name);
|
|
|
|
virtual void *getProcAddress(const std::string &procName) = 0;
|
|
virtual bool isLoaded() = 0;
|
|
};
|
|
} // namespace OCLRT
|