Skip to content

Commit

Permalink
Removed a debug msg which is a overhead of the performance for async …
Browse files Browse the repository at this point in the history
…operation. (#8565) (#8566)

* Removed some debug msg which is a overhead of the performance.



* Commenting out debug msg which is a overhead of the performance.



---------

Signed-off-by: Saifuddin <[email protected]>
  • Loading branch information
saifuddin-xilinx authored Oct 24, 2024
1 parent f6800dd commit 1721234
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -703,9 +703,12 @@ err_code gmio_api::enqueueBD(XAie_MemInst *memInst, uint64_t offset, size_t size
driverStatus |= XAie_DmaChannelPushBdToQueue(config->get_dev(), gmioTileLoc, convertLogicalToPhysicalDMAChNum(pGMIOConfig->channelNum), (pGMIOConfig->type == gmio_config::gm2aie ? DMA_MM2S : DMA_S2MM), bdNumber);
enqueuedBDs.push(bdNumber);

/* Commenting out as this is increasing overhead of the performance */
/*
debugMsg(static_cast<std::stringstream &&>(std::stringstream() << "gmio_api::enqueueBD: (id "
<< pGMIOConfig->id << ") enqueue BD num " << bdNumber << " to shim DMA channel " << pGMIOConfig->channelNum
<< ", DDR offset " << std::hex << offset << ", transaction size " << std::dec << size).str());
*/

// Update status after using AIE driver
if (driverStatus != AieRC::XAIE_OK)
Expand Down

0 comments on commit 1721234

Please sign in to comment.