aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/architecture_features.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/architecture_features.py')
-rw-r--r--ethosu/vela/architecture_features.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py
index 7391d714..3ef4d1bf 100644
--- a/ethosu/vela/architecture_features.py
+++ b/ethosu/vela/architecture_features.py
@@ -574,7 +574,7 @@ Note the difference between ArchitectureFeatures and CompilerOptions
Cortex-Mx.intercept=<some float value>
Cortex-Mx.slope=<some float value>
"""
- section = "CpuPerformance." + op.type
+ section = "CpuPerformance." + op.type.name
if self.vela_config is not None and section in self.vela_config:
op_config = self.vela_config[section]
try: