From c827a7dec000e005b6556a9f710f9ec87700ebed Mon Sep 17 00:00:00 2001 From: Jeff Fifield Date: Mon, 20 May 2024 13:03:37 -0600 Subject: [PATCH] clang-format --- include/aie/Dialect/AIE/IR/AIETargetModel.h | 4 ++-- lib/CAPI/TargetModel.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/aie/Dialect/AIE/IR/AIETargetModel.h b/include/aie/Dialect/AIE/IR/AIETargetModel.h index dedd52631e..c61622d27e 100644 --- a/include/aie/Dialect/AIE/IR/AIETargetModel.h +++ b/include/aie/Dialect/AIE/IR/AIETargetModel.h @@ -210,7 +210,6 @@ class AIETargetModel { private: AIEDevice device; - }; class AIE1TargetModel : public AIETargetModel { @@ -516,7 +515,8 @@ class VirtualizedNPUTargetModel : public BaseNPUTargetModel { int cols; public: - VirtualizedNPUTargetModel(AIEDevice device, int _cols) : BaseNPUTargetModel(device), cols(_cols) {} + VirtualizedNPUTargetModel(AIEDevice device, int _cols) + : BaseNPUTargetModel(device), cols(_cols) {} int columns() const override { return cols; } diff --git a/lib/CAPI/TargetModel.cpp b/lib/CAPI/TargetModel.cpp index be13b6531c..0e4e92e02b 100644 --- a/lib/CAPI/TargetModel.cpp +++ b/lib/CAPI/TargetModel.cpp @@ -19,13 +19,13 @@ static inline AieTargetModel wrap(const xilinx::AIE::AIETargetModel &tm) { return AieTargetModel{static_cast(tm.getDevice())}; } -static inline const xilinx::AIE::AIETargetModel& unwrap(AieTargetModel tm) { +static inline const xilinx::AIE::AIETargetModel &unwrap(AieTargetModel tm) { return xilinx::AIE::getTargetModel(static_cast(tm.d)); } AieTargetModel aieGetTargetModel(uint32_t device) { - return wrap(xilinx::AIE::getTargetModel( - static_cast(device))); + return wrap( + xilinx::AIE::getTargetModel(static_cast(device))); } int aieTargetModelColumns(AieTargetModel targetModel) {