compute-runtime/shared/source/helpers/topology_map.h

24 lines
374 B
C++

/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <unordered_map>
#include <vector>
namespace NEO {
struct TopologyMapping {
std::vector<int> sliceIndices;
std::vector<int> subsliceIndices;
};
using TopologyMap = std::unordered_map<uint32_t, TopologyMapping>;
} // namespace NEO