Colocated Nodes Constraint - Colocated Nodes Constraint - 2026.1 English - UG1603

AI Engine-ML Kernel and Graph Programming Guide (UG1603)

Document ID
UG1603
Release Date
2026-07-08
Version
2026.1 English

This constrains a port (that is, the port buffer) location to be on the same tile as that of one or more kernels. This ensures that the other kernels can access the data buffer without requiring a DMA.

Syntax

"colocated_nodes": [<node list>]
<node list> ::= <node name>[,<node name>...]
<node name> ::= string

Example

{
  "PortConstraints": {
    "mygraph.k1.in[0]": {
      "colocated_nodes": ["mygraph.k1"]
    },
    "mygraph.k2.in[0]": {
      "colocated_nodes": ["mygraph.k2"]
    }
  }
}