Files
compute-runtime/level_zero/tools/source/sysman/pci/pci.h
Kanhaiya 723e852c09 Moved all the constants used in sysman to the single header file
Change-Id: I0bfa02e68c9aba1cc5d3105c37630b30b03e1b54
Signed-off-by: Kanhaiya <kanhaiya.singh@intel.com>
2020-09-23 14:35:13 +02:00

24 lines
563 B
C++

/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "level_zero/tools/source/sysman/sysman_const.h"
#include <level_zero/zes_api.h>
namespace L0 {
class Pci {
public:
virtual ~Pci(){};
virtual ze_result_t pciStaticProperties(zes_pci_properties_t *pProperties) = 0;
virtual ze_result_t pciGetInitializedBars(uint32_t *pCount, zes_pci_bar_properties_t *pProperties) = 0;
virtual ze_result_t pciGetState(zes_pci_state_t *pState) = 0;
virtual void init() = 0;
};
} // namespace L0