-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aie.device to transaction ops as mlir pass #4
Conversation
Coverage ReportCreated: 2024-09-11 04:42Click here for information about interpreting this report.
Generated by llvm-cov -- llvm version 14.0.0 |
f92b1d9
to
b8dffbc
Compare
208ce00
to
3135638
Compare
Co-authored-by: Joseph Melber <[email protected]>
b8dffbc
to
d756aa1
Compare
AIETranslateControlPacketsToUI32Vec(mlir::ModuleOp module, llvm::raw_ostream &output, | ||
llvm::StringRef sequenceName = ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
AIETranslateControlPacketsToUI32Vec(mlir::ModuleOp module, llvm::raw_ostream &output, | |
llvm::StringRef sequenceName = ""); | |
AIETranslateControlPacketsToUI32Vec(mlir::ModuleOp module, | |
llvm::raw_ostream &output, | |
llvm::StringRef sequenceName = ""); |
mlir::LogicalResult | ||
AIETranslateControlPacketsToUI32Vec(mlir::ModuleOp, std::vector<uint32_t> &); | ||
AIETranslateControlPacketsToUI32Vec(mlir::ModuleOp, std::vector<uint32_t> &, | ||
llvm::StringRef sequenceName = ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
llvm::StringRef sequenceName = ""); | |
llvm::StringRef sequenceName = ""); |
LogicalResult | ||
xilinx::AIE::AIETranslateControlPacketsToUI32Vec(ModuleOp module, | ||
std::vector<uint32_t> &instructions, | ||
StringRef sequenceName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
LogicalResult | |
xilinx::AIE::AIETranslateControlPacketsToUI32Vec(ModuleOp module, | |
std::vector<uint32_t> &instructions, | |
StringRef sequenceName) { | |
LogicalResult xilinx::AIE::AIETranslateControlPacketsToUI32Vec( | |
ModuleOp module, std::vector<uint32_t> &instructions, | |
StringRef sequenceName) { |
LogicalResult | ||
xilinx::AIE::AIETranslateControlPacketsToUI32Vec(ModuleOp module, | ||
raw_ostream &output) { | ||
xilinx::AIE::AIETranslateControlPacketsToUI32Vec(ModuleOp module, raw_ostream &output, | ||
StringRef sequenceName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
LogicalResult | |
xilinx::AIE::AIETranslateControlPacketsToUI32Vec(ModuleOp module, | |
raw_ostream &output) { | |
xilinx::AIE::AIETranslateControlPacketsToUI32Vec(ModuleOp module, raw_ostream &output, | |
StringRef sequenceName) { | |
LogicalResult xilinx::AIE::AIETranslateControlPacketsToUI32Vec( | |
ModuleOp module, raw_ostream &output, StringRef sequenceName) { |
std::vector<uint32_t> instructions; | ||
auto r = AIETranslateControlPacketsToUI32Vec(module, instructions); | ||
auto r = AIETranslateControlPacketsToUI32Vec(module, instructions, sequenceName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
auto r = AIETranslateControlPacketsToUI32Vec(module, instructions, sequenceName); | |
auto r = | |
AIETranslateControlPacketsToUI32Vec(module, instructions, sequenceName); |
}, | ||
registerDialects); | ||
TranslateFromMLIRRegistration registrationCtrlPkt( | ||
"aie-ctrlpkt-to-bin", "Translate aiex.control_packet ops to binary", | ||
[](ModuleOp module, raw_ostream &output) { | ||
if (outputBinary == true) { | ||
std::vector<uint32_t> instructions; | ||
auto r = AIETranslateControlPacketsToUI32Vec(module, instructions); | ||
auto r = AIETranslateControlPacketsToUI32Vec(module, instructions, sequenceName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
auto r = AIETranslateControlPacketsToUI32Vec(module, instructions, sequenceName); | |
auto r = AIETranslateControlPacketsToUI32Vec(module, instructions, | |
sequenceName); |
static LogicalResult | ||
generateTxn(AIERTControl &ctl, const StringRef workDirPath, DeviceOp &targetOp, | ||
bool aieSim, bool enableElfs, bool enableInit, bool enableCores) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
static LogicalResult | |
generateTxn(AIERTControl &ctl, const StringRef workDirPath, DeviceOp &targetOp, | |
bool aieSim, bool enableElfs, bool enableInit, bool enableCores) { | |
static LogicalResult generateTxn(AIERTControl &ctl, const StringRef workDirPath, | |
DeviceOp &targetOp, bool aieSim, | |
bool enableElfs, bool enableInit, | |
bool enableCores) { |
auto result = | ||
generateTxn(ctl, clElfDir, device, aieSim, true, true, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[clang-format] reported by reviewdog 🐶
auto result = | |
generateTxn(ctl, clElfDir, device, aieSim, true, true, true); | |
auto result = generateTxn(ctl, clElfDir, device, aieSim, true, true, true); |
29661c8
to
f3b5221
Compare
No description provided.