EthernetConfigAttr

TT EthernetConfig attribute

Syntax:

#ttkernel.ethernet_config<
  EthType,   # eth_type
  NocIndex   # noc_index
>

TT ethernet_config attribute

Parameters:

ParameterC++ typeDescription
eth_typeEthType
noc_indexNocIndex

NocConfigAttr

TT NocConfig attribute

Syntax:

#ttkernel.noc_config<
  NocIndex   # noc_index
>

TT noc_config attribute

Parameters:

ParameterC++ typeDescription
noc_indexNocIndex

TensixConfigAttr

TT TensixConfig attribute

Syntax:

#ttkernel.tensix_config<
  MathFidelity,   # math_fidelity
  bool,   # fp32_dest_acc_en
  bool,   # preserve_fp32_precision
  bool   # math_approx_mode
>

TT compute_desc attribute

Parameters:

ParameterC++ typeDescription
math_fidelityMathFidelity
fp32_dest_acc_enbool
preserve_fp32_precisionbool
math_approx_modebool

ThreadTypeAttr

TTKernel ThreadTypes

Syntax:

#ttkernel.thread<
  ::mlir::tt::ttkernel::ThreadType   # value
>

Enum cases:

  • noc (Noc)
  • tensix (Tensix)
  • ethernet (Ethernet)

Parameters:

ParameterC++ typeDescription
value::mlir::tt::ttkernel::ThreadTypean enum of type ThreadType