cache procedural_name in GemmOperation (#2317)

This commit is contained in:
Colin Peppler
2025-07-16 19:25:02 -07:00
committed by GitHub
parent 9892624b66
commit ebe98c549a

View File

@ -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: