From ebe98c549a381c1d9870c36053f5cc8d6085bd00 Mon Sep 17 00:00:00 2001 From: Colin Peppler Date: Wed, 16 Jul 2025 19:25:02 -0700 Subject: [PATCH] cache procedural_name in GemmOperation (#2317) --- python/cutlass_library/gemm_operation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/cutlass_library/gemm_operation.py b/python/cutlass_library/gemm_operation.py index 0d037fe2..ce0b16f9 100644 --- a/python/cutlass_library/gemm_operation.py +++ b/python/cutlass_library/gemm_operation.py @@ -355,6 +355,10 @@ class GemmOperation: # Generates the full kernel function name def procedural_name(self): + return self._procedural_name + + @functools.cached_property + def _procedural_name(self): ''' The full procedural name indicates architecture, extended name, tile size, and layout. ''' opcode_class_name = OpcodeClassNames[self.tile_description.math_instruction.opcode_class] if self.arch >= 90: