130def generate_gemms(output_path, output_file_name, namespace, dict, gemm_config_list):
131 for gemm
in gemm_config_list:
132 for current_precision
in gemm.precision:
133 command_line_arguments = (
137 + os.path.join(output_path, output_file_name)
139 +
"::".join(namespace)
141 + gemm.baseroutinename
159 + str(gemm.alignment_A)
161 + str(gemm.alignment_C)
163 + dict[
"ARCHITECTURE"]
165 + gemm.prefetchStrategy
170 "/opt/views/view/bin/libxsmm_gemm_generator" + command_line_arguments
172 subprocess.call(bash_command.split())
__init__(self, M, N, K, LDA, LDB, LDC, alpha, beta, alignment_A, alignment_C, name, prefetchStrategy, operationType="gemm", precision=["DP"])