Files
compute-runtime/level_zero/core/source/driver_imp.h

27 lines
424 B
C
Raw Normal View History

/*
* 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