Skip to content

Commit

Permalink
periods
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvedhmeshram committed Jun 17, 2024
1 parent bce040f commit b9c1259
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit b9c1259

Please sign in to comment.