mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 13:54:58 +08:00
27 lines
424 B
C++
27 lines
424 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "level_zero/core/source/driver.h"
|
|
|
|
#include <mutex>
|
|
|
|
namespace L0 {
|
|
|
|
class DriverImp : public Driver {
|
|
public:
|
|
ze_result_t driverInit(_ze_init_flag_t) override;
|
|
|
|
void initialize(bool *result) override;
|
|
|
|
protected:
|
|
std::once_flag initDriverOnce;
|
|
static bool initStatus;
|
|
};
|
|
} // namespace L0
|