diff --git a/projects/amdsmi/py-interface/amdsmi_interface.py b/projects/amdsmi/py-interface/amdsmi_interface.py index b39b94d1b1..ff92663772 100644 --- a/projects/amdsmi/py-interface/amdsmi_interface.py +++ b/projects/amdsmi/py-interface/amdsmi_interface.py @@ -891,10 +891,10 @@ def amdsmi_get_gpu_ras_feature_info( return { "eeprom_version": ras_feature.ras_eeprom_version, - "parity_schema" : bool(ras_feature.ecc_correction_schema_flags & 1), - "single_bit_schema" : bool(ras_feature.ecc_correction_schema_flags & 2), - "double_bit_schema" : bool(ras_feature.ecc_correction_schema_flags & 4), - "poison_schema" : bool(ras_feature.ecc_correction_schema_flags & 8) + "parity_schema" : bool(ras_feature.ecc_correction_schema_flag & 1), + "single_bit_schema" : bool(ras_feature.ecc_correction_schema_flag & 2), + "double_bit_schema" : bool(ras_feature.ecc_correction_schema_flag & 4), + "poison_schema" : bool(ras_feature.ecc_correction_schema_flag & 8) }