MLIR-AIE
include
aie
Bindings
PyTypes.h
Go to the documentation of this file.
1
//===- PyTypes.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
#ifndef AIE_BINDINGS_PYTYPES_H
11
#define AIE_BINDINGS_PYTYPES_H
12
13
#include "
aie-c/TargetModel.h
"
14
15
class
PyAieTargetModel
{
16
public
:
17
PyAieTargetModel
(AieTargetModel model) : model(model) {}
18
operator
AieTargetModel()
const
{
return
model; }
19
AieTargetModel
get
()
const
{
return
model; }
20
21
private
:
22
AieTargetModel model;
23
};
24
25
#endif
// AIE_BINDINGS_PYTYPES_H
TargetModel.h
PyAieTargetModel
Definition
PyTypes.h:15
PyAieTargetModel::PyAieTargetModel
PyAieTargetModel(AieTargetModel model)
Definition
PyTypes.h:17
PyAieTargetModel::get
AieTargetModel get() const
Definition
PyTypes.h:19
Generated on Sat Aug 23 2025 00:55:48 for MLIR-AIE by
1.9.8