2021-07-06 22:26:44 +08:00
|
|
|
/*
|
2022-01-29 03:08:02 +08:00
|
|
|
* Copyright (C) 2021-2022 Intel Corporation
|
2021-07-06 22:26:44 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <unordered_map>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
struct TopologyMapping {
|
|
|
|
std::vector<int> sliceIndices;
|
2022-01-29 03:08:02 +08:00
|
|
|
std::vector<int> subsliceIndices;
|
2021-07-06 22:26:44 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
using TopologyMap = std::unordered_map<uint32_t, TopologyMapping>;
|
|
|
|
|
|
|
|
} // namespace NEO
|