@@ -178,16 +178,28 @@ class GemmOperation:
|
||||
if self.is_complex():
|
||||
extended_name = "${core_name}"
|
||||
else:
|
||||
# e.g. f16_f16_f32_void_f32 kernel
|
||||
if self.C.element != self.tile_description.math_instruction.element_accumulator and \
|
||||
self.A.element != self.tile_description.math_instruction.element_accumulator:
|
||||
self.A.element != self.tile_description.math_instruction.element_accumulator:
|
||||
extended_name = "${element_c}_${core_name}_${element_a}"
|
||||
if self.is_mixed_input():
|
||||
extended_name += "_${element_b}"
|
||||
|
||||
# e.g. f32_f32_f32_void_f32 kernel
|
||||
elif self.C.element != self.tile_description.math_instruction.element_accumulator and \
|
||||
self.A.element == self.tile_description.math_instruction.element_accumulator:
|
||||
extended_name = "${element_c}_${core_name}"
|
||||
if self.is_mixed_input():
|
||||
extended_name += "_${element_b}"
|
||||
|
||||
# e.g. f16_f16_f32_f32_f32 kernel
|
||||
elif self.C.element == self.tile_description.math_instruction.element_accumulator and \
|
||||
self.A.element != self.tile_description.math_instruction.element_accumulator:
|
||||
self.A.element != self.tile_description.math_instruction.element_accumulator:
|
||||
extended_name = "${core_name}_${element_a}"
|
||||
if self.is_mixed_input():
|
||||
extended_name += "_${element_b}"
|
||||
|
||||
# e.g. f32_f32_f32_f32_f32 kernel
|
||||
else:
|
||||
extended_name = "${core_name}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user