From b9c12591fb1c9ece6bb209703928f7f61fb267bd Mon Sep 17 00:00:00 2001 From: Nirvedh Meshram Date: Mon, 17 Jun 2024 13:21:33 -0600 Subject: [PATCH] periods --- .../target/AMD-AIE/iree-amd-aie/Target/AIETarget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/plugins/target/AMD-AIE/iree-amd-aie/Target/AIETarget.cpp b/compiler/plugins/target/AMD-AIE/iree-amd-aie/Target/AIETarget.cpp index 2871cc763..de906564f 100644 --- a/compiler/plugins/target/AMD-AIE/iree-amd-aie/Target/AIETarget.cpp +++ b/compiler/plugins/target/AMD-AIE/iree-amd-aie/Target/AIETarget.cpp @@ -302,7 +302,7 @@ LogicalResult AIETargetBackend::serializeExecutable( llvm::sys::path::append(npuInstPath, entryPointNamesFb[ordinal] + ".npu.txt"); - // Convert ordinal to hexadecimal string for xclbin kernel id + // Convert ordinal to hexadecimal string for xclbin kernel id. std::stringstream ss; ss << "0x" << std::hex << ordinal + 10; std::string ordinalHex = ss.str(); @@ -401,7 +401,7 @@ LogicalResult AIETargetBackend::serializeExecutable( asmInstrRefs.push_back( iree_amd_aie_hal_xrt_AsmInstDef_create(builder, npuInstrsVec)); } - // write out the final xclbins to flatbuffer + // Write out the final xclbins to flatbuffer. for (auto xclbinPath : xclbinPaths) { llvm::outs() << "writing xclbin from path: " << xclbinPath << "\n"; std::string errorMessage; @@ -414,7 +414,7 @@ LogicalResult AIETargetBackend::serializeExecutable( iree_amd_aie_hal_xrt_XclbinDef_create(builder, xclbinStringRef)); } - // Serialize the executable to flatbuffer format + // Serialize the executable to flatbuffer format. auto entryPointsRef = builder.createStringVec(entryPointNamesFb); iree_amd_aie_hal_xrt_ExecutableDef_entry_points_add(builder, entryPointsRef);