mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
L0 Device slice id mapping
Related-To: NEO-5640 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9166f9223a
commit
bbb27cdb8a
22
shared/source/helpers/topology_map.h
Normal file
22
shared/source/helpers/topology_map.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct TopologyMapping {
|
||||
std::vector<int> sliceIndices;
|
||||
};
|
||||
|
||||
using TopologyMap = std::unordered_map<uint32_t, TopologyMapping>;
|
||||
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user