From 5edb7a559f47ec098ee87af248ba09c97ebf2dee Mon Sep 17 00:00:00 2001 From: Maisam Arif Date: Wed, 24 Jan 2024 07:28:04 -0600 Subject: [PATCH] Corrected Cache Type Enum Signed-off-by: Maisam Arif Change-Id: I7d861d022e2855c35e4a79681f83977cc633d1c6 [ROCm/amdsmi commit: 2c87d95ffb8fc0d710d8775dc9e4d36948e03c1d] --- projects/amdsmi/py-interface/amdsmi_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/py-interface/amdsmi_interface.py b/projects/amdsmi/py-interface/amdsmi_interface.py index ac6bbf736e..9f94ef2651 100644 --- a/projects/amdsmi/py-interface/amdsmi_interface.py +++ b/projects/amdsmi/py-interface/amdsmi_interface.py @@ -358,7 +358,7 @@ class AmdSmiProcessorType(IntEnum): NON_AMD_GPU = amdsmi_wrapper.NON_AMD_GPU NON_AMD_CPU = amdsmi_wrapper.NON_AMD_CPU -class AmdSmiCacheTypeNames(Enum): +class AmdSmiCacheTypeNames(IntEnum): DATA_CACHE = 2 INST_CACHE = 4 CPU_CACHE = 8