-
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
Rm txn xlate #6
Rm txn xlate #6
Conversation
createConvertAIEToTransactionPass(); | ||
|
||
std::optional<mlir::ModuleOp> | ||
convertTransactionBinaryToMLIR(mlir::MLIRContext *ctx, std::vector<uint8_t> &binary); |
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 🐶
convertTransactionBinaryToMLIR(mlir::MLIRContext *ctx, std::vector<uint8_t> &binary); | |
convertTransactionBinaryToMLIR(mlir::MLIRContext *ctx, | |
std::vector<uint8_t> &binary); |
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 = ""); |
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) { |
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); |
Coverage ReportCreated: 2024-09-11 06:06Click here for information about interpreting this report.
Generated by llvm-cov -- llvm version 14.0.0 |
No description provided.