Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
fifield committed May 20, 2024
1 parent 5e93a47 commit c827a7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions include/aie/Dialect/AIE/IR/AIETargetModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ class AIETargetModel {

private:
AIEDevice device;

};

class AIE1TargetModel : public AIETargetModel {
Expand Down Expand Up @@ -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; }

Expand Down
6 changes: 3 additions & 3 deletions lib/CAPI/TargetModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ static inline AieTargetModel wrap(const xilinx::AIE::AIETargetModel &tm) {
return AieTargetModel{static_cast<uint32_t>(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<xilinx::AIE::AIEDevice>(tm.d));
}

AieTargetModel aieGetTargetModel(uint32_t device) {
return wrap(xilinx::AIE::getTargetModel(
static_cast<xilinx::AIE::AIEDevice>(device)));
return wrap(
xilinx::AIE::getTargetModel(static_cast<xilinx::AIE::AIEDevice>(device)));
}

int aieTargetModelColumns(AieTargetModel targetModel) {
Expand Down

0 comments on commit c827a7d

Please sign in to comment.