MLIR-AIE
AIEAssignBufferDescriptorIDs.h
Go to the documentation of this file.
1//===- AIEAssignBufferDescriptorIDs.h ---------------------------*- C++ -*-===//
2//
3// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7// (c) Copyright 2024 Advanced Micro Devices Inc.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef AIE_ASSIGN_BUFFER_DESCRIPTOR_IDS_H
12#define AIE_ASSIGN_BUFFER_DESCRIPTOR_IDS_H
13
15
16using namespace xilinx::AIE;
17
19 const int col;
20 const int row;
22 std::set<uint32_t> alreadyAssigned;
23
25
26 std::optional<uint32_t> nextBdId(int channelIndex);
27
28 void assignBdId(uint32_t bdId);
29
30 bool bdIdAlreadyAssigned(uint32_t bdId);
31
32 void freeBdId(uint32_t bdId);
33};
34
35#endif
Include the generated interface declarations.
bool bdIdAlreadyAssigned(uint32_t bdId)
const AIETargetModel & targetModel
void assignBdId(uint32_t bdId)
void freeBdId(uint32_t bdId)
std::optional< uint32_t > nextBdId(int channelIndex)
std::set< uint32_t > alreadyAssigned