compute-runtime/shared/source/os_interface/linux/pci_path.h

18 lines
285 B
C++

/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <optional>
#include <string>
namespace NEO {
std::optional<std::string> getPciPath(int deviceFd);
std::optional<std::string> getPciLinkPath(int deviceFd);
} // namespace NEO