EthernetConfigAttr
TT EthernetConfig attribute
Syntax:
#ttkernel.ethernet_config<
EthType, # eth_type
NocIndex # noc_index
>
TT ethernet_config attribute
Parameters:
Parameter | C++ type | Description |
---|---|---|
eth_type | EthType | |
noc_index | NocIndex |
NocConfigAttr
TT NocConfig attribute
Syntax:
#ttkernel.noc_config<
NocIndex # noc_index
>
TT noc_config attribute
Parameters:
Parameter | C++ type | Description |
---|---|---|
noc_index | NocIndex |
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:
Parameter | C++ type | Description |
---|---|---|
math_fidelity | MathFidelity | |
fp32_dest_acc_en | bool | |
preserve_fp32_precision | bool | |
math_approx_mode | bool |
ThreadTypeAttr
TTKernel ThreadTypes
Syntax:
#ttkernel.thread<
::mlir::tt::ttkernel::ThreadType # value
>
Enum cases:
- noc (
Noc
) - tensix (
Tensix
) - ethernet (
Ethernet
)
Parameters:
Parameter | C++ type | Description |
---|---|---|
value | ::mlir::tt::ttkernel::ThreadType | an enum of type ThreadType |