From 45f80d7559f9626ee5d5e15b56977f9c8afddb26 Mon Sep 17 00:00:00 2001 From: Maksim Levental Date: Wed, 28 Feb 2024 10:46:37 -0600 Subject: [PATCH] DCE AIETargetCDODirect (#1067) --- lib/Targets/AIETargetCDODirect.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/Targets/AIETargetCDODirect.cpp b/lib/Targets/AIETargetCDODirect.cpp index 5cac6665c9..31e6fd9bec 100644 --- a/lib/Targets/AIETargetCDODirect.cpp +++ b/lib/Targets/AIETargetCDODirect.cpp @@ -603,24 +603,6 @@ struct AIEControl { auto mstrPortNum = 0; TRY_XAIE_API_EMIT_ERROR(switchboxOp, XAie_StrmConnCctEnable, &devInst, tileLoc, CTRL, slvPortNum, SOUTH, mstrPortNum); - // configure DMA___Ctrl register - assert(targetOp.getDevice() == AIEDevice::ipu && - "Only IPU currently supported"); - if (col != 0) - for (int chNum = 0; chNum <= 1; ++chNum) { - XAie_DmaChannelDesc dmaChannelDescInst; - TRY_XAIE_API_EMIT_ERROR(switchboxOp, XAie_DmaChannelDescInit, - &devInst, &dmaChannelDescInst, tileLoc); - auto controllerId = 0; - TRY_XAIE_API_EMIT_ERROR(switchboxOp, XAie_DmaChannelSetControllerId, - &dmaChannelDescInst, controllerId); - TRY_XAIE_API_EMIT_ERROR(switchboxOp, XAie_DmaWriteChannel, &devInst, - &dmaChannelDescInst, tileLoc, chNum, - DMA_S2MM); - } - - TRY_XAIE_API_EMIT_ERROR(switchboxOp, XAie_AieToPlIntfEnable, &devInst, - tileLoc, /*PortNum*/ 0, PLIF_WIDTH_32); } Block &b = switchboxOp.getConnections().front();