[GPU] Add new properties and fix bechmark_app (#10149)

This commit is contained in:
Sergey Shlyapnikov
2022-02-09 09:18:54 +03:00
committed by GitHub
parent 1970baeb1c
commit 8f0e974ee6
19 changed files with 706 additions and 208 deletions

View File

@@ -26,9 +26,9 @@ def main():
log.info('Available devices:')
for device in core.available_devices:
log.info(f'{device} :')
log.info('\tSUPPORTED_METRICS:')
for property_key in core.get_property(device, 'SUPPORTED_METRICS'):
if property_key not in ('SUPPORTED_METRICS', 'SUPPORTED_CONFIG_KEYS'):
log.info('\tSUPPORTED_PROPERTIES:')
for property_key in core.get_property(device, 'SUPPORTED_PROPERTIES'):
if property_key not in ('SUPPORTED_METRICS', 'SUPPORTED_CONFIG_KEYS', 'SUPPORTED_PROPERTIES'):
try:
property_val = core.get_property(device, property_key)
except TypeError:
@@ -36,15 +36,6 @@ def main():
log.info(f'\t\t{property_key}: {param_to_string(property_val)}')
log.info('')
log.info('\tSUPPORTED_CONFIG_KEYS (default values):')
for config_key in core.get_property(device, 'SUPPORTED_CONFIG_KEYS'):
try:
config_val = core.get_property(device, config_key)
except TypeError:
config_val = 'UNSUPPORTED TYPE'
log.info(f'\t\t{config_key}: {param_to_string(config_val)}')
log.info('')
# -----------------------------------------------------------------------------------------------------------------
return 0