/*------------------------------------------------------------------------------------------------* * Copyright (C) by the DBCSR developers group - All rights reserved * * This file is part of the DBCSR library. * * * * For information on the license, see the LICENSE file. * * For further information please visit https://dbcsr.cp2k.org * * SPDX-License-Identifier: GPL-2.0+ * *------------------------------------------------------------------------------------------------*/ #include <stdio.h> #include <stdlib.h> #include <vector> #include <array> #include "libsmm_acc_benchmark.h" #include "libsmm_acc.h" /****************************************************************************\ \brief Checks correctness of randomly selected libsmm_acc multiplication kernels \****************************************************************************/ int main(int argc, char** argv) { DBCSR_MARK_USED(argc); DBCSR_MARK_USED(argv); KernelLauncher launcher_mm = libsmm_acc_process_d; char buffer[1000]; char * kernel_descr[1] = {buffer}; // Get all blocksizes available in libsmm_acc std::vector<Triplet> libsmm_acc_triplets = { { 4, 4, 4}, { 4, 4, 5}, { 4, 4, 6}, { 4, 4, 7}, { 4, 4, 8}, { 4, 4, 9}, { 4, 4, 10}, { 4, 4, 13}, { 4, 4, 15}, { 4, 4, 25}, { 4, 4, 26}, { 4, 4, 28}, { 4, 4, 32}, { 4, 4, 45}, { 4, 5, 4}, { 4, 5, 5}, { 4, 5, 6}, { 4, 5, 7}, { 4, 5, 8}, { 4, 5, 9}, { 4, 5, 13}, { 4, 5, 25}, { 4, 5, 26}, { 4, 5, 28}, { 4, 5, 32}, { 4, 5, 36}, { 4, 5, 45}, { 4, 6, 4}, { 4, 6, 5}, { 4, 6, 6}, { 4, 6, 7}, { 4, 6, 8}, { 4, 6, 9}, { 4, 6, 29}, { 4, 7, 4}, { 4, 7, 5}, { 4, 7, 6}, { 4, 7, 7}, { 4, 7, 8}, { 4, 7, 9}, { 4, 7, 13}, { 4, 7, 25}, { 4, 7, 26}, { 4, 7, 28}, { 4, 7, 32}, { 4, 7, 45}, { 4, 8, 4}, { 4, 8, 5}, { 4, 8, 6}, { 4, 8, 7}, { 4, 8, 8}, { 4, 8, 9}, { 4, 9, 4}, { 4, 9, 5}, { 4, 9, 6}, { 4, 9, 7}, { 4, 9, 8}, { 4, 9, 9}, { 4, 9, 13}, { 4, 9, 16}, { 4, 9, 22}, { 4, 9, 25}, { 4, 9, 26}, { 4, 9, 28}, { 4, 9, 32}, { 4, 9, 43}, { 4, 9, 45}, { 4, 10, 4}, { 4, 10, 10}, { 4, 10, 15}, { 4, 11, 23}, { 4, 13, 4}, { 4, 13, 5}, { 4, 13, 6}, { 4, 13, 7}, { 4, 13, 9}, { 4, 13, 13}, { 4, 13, 25}, { 4, 13, 26}, { 4, 13, 28}, { 4, 13, 32}, { 4, 13, 45}, { 4, 15, 4}, { 4, 15, 10}, { 4, 15, 15}, { 4, 19, 10}, { 4, 19, 35}, { 4, 19, 43}, { 4, 20, 29}, { 4, 21, 6}, { 4, 22, 32}, { 4, 22, 39}, { 4, 25, 4}, { 4, 25, 5}, { 4, 25, 7}, { 4, 25, 9}, { 4, 25, 13}, { 4, 25, 25}, { 4, 25, 26}, { 4, 25, 28}, { 4, 25, 32}, { 4, 25, 45}, { 4, 26, 4}, { 4, 26, 5}, { 4, 26, 7}, { 4, 26, 8}, { 4, 26, 9}, { 4, 26, 13}, { 4, 26, 25}, { 4, 26, 26}, { 4, 26, 28}, { 4, 26, 32}, { 4, 26, 45}, { 4, 28, 4}, { 4, 28, 5}, { 4, 28, 7}, { 4, 28, 9}, { 4, 28, 13}, { 4, 28, 25}, { 4, 28, 26}, { 4, 28, 28}, { 4, 28, 32}, { 4, 28, 45}, { 4, 30, 34}, { 4, 31, 35}, { 4, 32, 4}, { 4, 32, 5}, { 4, 32, 7}, { 4, 32, 9}, { 4, 32, 13}, { 4, 32, 25}, { 4, 32, 26}, { 4, 32, 28}, { 4, 32, 32}, { 4, 32, 45}, { 4, 34, 24}, { 4, 34, 44}, { 4, 36, 8}, { 4, 37, 8}, { 4, 40, 8}, { 4, 43, 15}, { 4, 45, 4}, { 4, 45, 5}, { 4, 45, 7}, { 4, 45, 9}, { 4, 45, 13}, { 4, 45, 25}, { 4, 45, 26}, { 4, 45, 28}, { 4, 45, 32}, { 4, 45, 38}, { 4, 45, 45}, { 5, 4, 4}, { 5, 4, 5}, { 5, 4, 6}, { 5, 4, 7}, { 5, 4, 8}, { 5, 4, 9}, { 5, 4, 13}, { 5, 4, 25}, { 5, 4, 26}, { 5, 4, 28}, { 5, 4, 32}, { 5, 4, 45}, { 5, 5, 4}, { 5, 5, 5}, { 5, 5, 6}, { 5, 5, 7}, { 5, 5, 8}, { 5, 5, 9}, { 5, 5, 12}, { 5, 5, 13}, { 5, 5, 16}, { 5, 5, 24}, { 5, 5, 25}, { 5, 5, 26}, { 5, 5, 28}, { 5, 5, 32}, { 5, 5, 45}, { 5, 6, 4}, { 5, 6, 5}, { 5, 6, 6}, { 5, 6, 7}, { 5, 6, 8}, { 5, 6, 9}, { 5, 7, 4}, { 5, 7, 5}, { 5, 7, 6}, { 5, 7, 7}, { 5, 7, 8}, { 5, 7, 9}, { 5, 7, 13}, { 5, 7, 25}, { 5, 7, 26}, { 5, 7, 28}, { 5, 7, 32}, { 5, 7, 38}, { 5, 7, 45}, { 5, 8, 4}, { 5, 8, 5}, { 5, 8, 6}, { 5, 8, 7}, { 5, 8, 8}, { 5, 8, 9}, { 5, 9, 4}, { 5, 9, 5}, { 5, 9, 6}, { 5, 9, 7}, { 5, 9, 8}, { 5, 9, 9}, { 5, 9, 13}, { 5, 9, 25}, { 5, 9, 26}, { 5, 9, 28}, { 5, 9, 32}, { 5, 9, 45}, { 5, 11, 14}, { 5, 12, 5}, { 5, 12, 12}, { 5, 12, 13}, { 5, 12, 26}, { 5, 12, 32}, { 5, 13, 4}, { 5, 13, 5}, { 5, 13, 7}, { 5, 13, 9}, { 5, 13, 12}, { 5, 13, 13}, { 5, 13, 16}, { 5, 13, 24}, { 5, 13, 25}, { 5, 13, 26}, { 5, 13, 28}, { 5, 13, 32}, { 5, 13, 45}, { 5, 14, 12}, { 5, 16, 5}, { 5, 16, 13}, { 5, 16, 16}, { 5, 16, 18}, { 5, 16, 32}, { 5, 17, 26}, { 5, 18, 20}, { 5, 18, 23}, { 5, 19, 4}, { 5, 19, 40}, { 5, 22, 28}, { 5, 22, 34}, { 5, 24, 5}, { 5, 24, 13}, { 5, 24, 22}, { 5, 24, 24}, { 5, 24, 26}, { 5, 24, 31}, { 5, 24, 32}, { 5, 25, 4}, { 5, 25, 5}, { 5, 25, 7}, { 5, 25, 9}, { 5, 25, 13}, { 5, 25, 25}, { 5, 25, 26}, { 5, 25, 28}, { 5, 25, 32}, { 5, 25, 45}, { 5, 26, 4}, { 5, 26, 5}, { 5, 26, 7}, { 5, 26, 9}, { 5, 26, 12}, { 5, 26, 13}, { 5, 26, 24}, { 5, 26, 25}, { 5, 26, 26}, { 5, 26, 28}, { 5, 26, 32}, { 5, 26, 45}, { 5, 27, 9}, { 5, 27, 29}, { 5, 28, 4}, { 5, 28, 5}, { 5, 28, 7}, { 5, 28, 9}, { 5, 28, 13}, { 5, 28, 25}, { 5, 28, 26}, { 5, 28, 28}, { 5, 28, 32}, { 5, 28, 33}, { 5, 28, 45}, { 5, 32, 4}, { 5, 32, 5}, { 5, 32, 7}, { 5, 32, 9}, { 5, 32, 12}, { 5, 32, 13}, { 5, 32, 16}, { 5, 32, 24}, { 5, 32, 25}, { 5, 32, 26}, { 5, 32, 28}, { 5, 32, 32}, { 5, 32, 45}, { 5, 33, 36}, { 5, 34, 37}, { 5, 34, 45}, { 5, 38, 39}, { 5, 39, 36}, { 5, 41, 34}, { 5, 44, 13}, { 5, 45, 4}, { 5, 45, 5}, { 5, 45, 7}, { 5, 45, 9}, { 5, 45, 13}, { 5, 45, 25}, { 5, 45, 26}, { 5, 45, 28}, { 5, 45, 32}, { 5, 45, 45}, { 6, 4, 4}, { 6, 4, 5}, { 6, 4, 6}, { 6, 4, 7}, { 6, 4, 8}, { 6, 4, 9}, { 6, 4, 25}, { 6, 5, 4}, { 6, 5, 5}, { 6, 5, 6}, { 6, 5, 7}, { 6, 5, 8}, { 6, 5, 9}, { 6, 5, 35}, { 6, 5, 40}, { 6, 6, 4}, { 6, 6, 5}, { 6, 6, 6}, { 6, 6, 7}, { 6, 6, 8}, { 6, 6, 9}, { 6, 6, 39}, { 6, 7, 4}, { 6, 7, 5}, { 6, 7, 6}, { 6, 7, 7}, { 6, 7, 8}, { 6, 7, 9}, { 6, 8, 4}, { 6, 8, 5}, { 6, 8, 6}, { 6, 8, 7}, { 6, 8, 8}, { 6, 8, 9}, { 6, 8, 26}, { 6, 9, 4}, { 6, 9, 5}, { 6, 9, 6}, { 6, 9, 7}, { 6, 9, 8}, { 6, 9, 9}, { 6, 9, 34}, { 6, 10, 44}, { 6, 13, 28}, { 6, 22, 12}, { 6, 22, 25}, { 6, 23, 40}, { 6, 24, 16}, { 6, 28, 14}, { 6, 33, 26}, { 6, 36, 13}, { 6, 37, 22}, { 6, 37, 39}, { 6, 38, 5}, { 6, 40, 25}, { 6, 41, 20}, { 6, 42, 18}, { 6, 44, 35}, { 6, 45, 7}, { 7, 4, 4}, { 7, 4, 5}, { 7, 4, 6}, { 7, 4, 7}, { 7, 4, 8}, { 7, 4, 9}, { 7, 4, 13}, { 7, 4, 25}, { 7, 4, 26}, { 7, 4, 28}, { 7, 4, 32}, { 7, 4, 45}, { 7, 5, 4}, { 7, 5, 5}, { 7, 5, 6}, { 7, 5, 7}, { 7, 5, 8}, { 7, 5, 9}, { 7, 5, 13}, { 7, 5, 25}, { 7, 5, 26}, { 7, 5, 28}, { 7, 5, 32}, { 7, 5, 45}, { 7, 6, 4}, { 7, 6, 5}, { 7, 6, 6}, { 7, 6, 7}, { 7, 6, 8}, { 7, 6, 9}, { 7, 6, 22}, { 7, 7, 4}, { 7, 7, 5}, { 7, 7, 6}, { 7, 7, 7}, { 7, 7, 8}, { 7, 7, 9}, { 7, 7, 13}, { 7, 7, 25}, { 7, 7, 26}, { 7, 7, 28}, { 7, 7, 32}, { 7, 7, 45}, { 7, 8, 4}, { 7, 8, 5}, { 7, 8, 6}, { 7, 8, 7}, { 7, 8, 8}, { 7, 8, 9}, { 7, 9, 4}, { 7, 9, 5}, { 7, 9, 6}, { 7, 9, 7}, { 7, 9, 8}, { 7, 9, 9}, { 7, 9, 13}, { 7, 9, 25}, { 7, 9, 26}, { 7, 9, 28}, { 7, 9, 32}, { 7, 9, 45}, { 7, 10, 22}, { 7, 12, 44}, { 7, 13, 4}, { 7, 13, 5}, { 7, 13, 7}, { 7, 13, 9}, { 7, 13, 13}, { 7, 13, 25}, { 7, 13, 26}, { 7, 13, 28}, { 7, 13, 32}, { 7, 13, 37}, { 7, 13, 43}, { 7, 13, 45}, { 7, 15, 9}, { 7, 15, 21}, { 7, 17, 34}, { 7, 20, 20}, { 7, 22, 35}, { 7, 23, 25}, { 7, 24, 10}, { 7, 24, 34}, { 7, 25, 4}, { 7, 25, 5}, { 7, 25, 6}, { 7, 25, 7}, { 7, 25, 9}, { 7, 25, 12}, { 7, 25, 13}, { 7, 25, 25}, { 7, 25, 26}, { 7, 25, 28}, { 7, 25, 32}, { 7, 25, 45}, { 7, 26, 4}, { 7, 26, 5}, { 7, 26, 7}, { 7, 26, 9}, { 7, 26, 13}, { 7, 26, 25}, { 7, 26, 26}, { 7, 26, 28}, { 7, 26, 32}, { 7, 26, 45}, { 7, 28, 4}, { 7, 28, 5}, { 7, 28, 7}, { 7, 28, 9}, { 7, 28, 13}, { 7, 28, 22}, { 7, 28, 25}, { 7, 28, 26}, { 7, 28, 28}, { 7, 28, 32}, { 7, 28, 38}, { 7, 28, 45}, { 7, 30, 37}, { 7, 31, 22}, { 7, 32, 4}, { 7, 32, 5}, { 7, 32, 7}, { 7, 32, 9}, { 7, 32, 13}, { 7, 32, 25}, { 7, 32, 26}, { 7, 32, 28}, { 7, 32, 32}, { 7, 32, 45}, { 7, 34, 36}, { 7, 36, 32}, { 7, 37, 26}, { 7, 43, 43}, { 7, 44, 12}, { 7, 44, 37}, { 7, 45, 4}, { 7, 45, 5}, { 7, 45, 7}, { 7, 45, 9}, { 7, 45, 13}, { 7, 45, 25}, { 7, 45, 26}, { 7, 45, 28}, { 7, 45, 32}, { 7, 45, 42}, { 7, 45, 45}, { 8, 4, 4}, { 8, 4, 5}, { 8, 4, 6}, { 8, 4, 7}, { 8, 4, 8}, { 8, 4, 9}, { 8, 5, 4}, { 8, 5, 5}, { 8, 5, 6}, { 8, 5, 7}, { 8, 5, 8}, { 8, 5, 9}, { 8, 5, 38}, { 8, 6, 4}, { 8, 6, 5}, { 8, 6, 6}, { 8, 6, 7}, { 8, 6, 8}, { 8, 6, 9}, { 8, 7, 4}, { 8, 7, 5}, { 8, 7, 6}, { 8, 7, 7}, { 8, 7, 8}, { 8, 7, 9}, { 8, 7, 21}, { 8, 8, 4}, { 8, 8, 5}, { 8, 8, 6}, { 8, 8, 7}, { 8, 8, 8}, { 8, 8, 9}, { 8, 8, 30}, { 8, 9, 4}, { 8, 9, 5}, { 8, 9, 6}, { 8, 9, 7}, { 8, 9, 8}, { 8, 9, 9}, { 8, 9, 42}, { 8, 10, 34}, { 8, 11, 31}, { 8, 11, 44}, { 8, 13, 33}, { 8, 13, 36}, { 8, 16, 19}, { 8, 16, 35}, { 8, 17, 16}, { 8, 18, 23}, { 8, 18, 45}, { 8, 20, 18}, { 8, 21, 25}, { 8, 23, 43}, { 8, 27, 37}, { 8, 29, 36}, { 8, 29, 40}, { 8, 30, 17}, { 8, 32, 26}, { 8, 34, 14}, { 8, 34, 16}, { 8, 35, 20}, { 8, 37, 14}, { 8, 40, 10}, { 8, 42, 42}, { 9, 4, 4}, { 9, 4, 5}, { 9, 4, 6}, { 9, 4, 7}, { 9, 4, 8}, { 9, 4, 9}, { 9, 4, 13}, { 9, 4, 20}, { 9, 4, 25}, { 9, 4, 26}, { 9, 4, 28}, { 9, 4, 32}, { 9, 4, 45}, { 9, 5, 4}, { 9, 5, 5}, { 9, 5, 6}, { 9, 5, 7}, { 9, 5, 8}, { 9, 5, 9}, { 9, 5, 13}, { 9, 5, 16}, { 9, 5, 25}, { 9, 5, 26}, { 9, 5, 28}, { 9, 5, 32}, { 9, 5, 39}, { 9, 5, 45}, { 9, 6, 4}, { 9, 6, 5}, { 9, 6, 6}, { 9, 6, 7}, { 9, 6, 8}, { 9, 6, 9}, { 9, 7, 4}, { 9, 7, 5}, { 9, 7, 6}, { 9, 7, 7}, { 9, 7, 8}, { 9, 7, 9}, { 9, 7, 13}, { 9, 7, 25}, { 9, 7, 26}, { 9, 7, 28}, { 9, 7, 32}, { 9, 7, 45}, { 9, 8, 4}, { 9, 8, 5}, { 9, 8, 6}, { 9, 8, 7}, { 9, 8, 8}, { 9, 8, 9}, { 9, 9, 4}, { 9, 9, 5}, { 9, 9, 6}, { 9, 9, 7}, { 9, 9, 8}, { 9, 9, 9}, { 9, 9, 10}, { 9, 9, 12}, { 9, 9, 13}, { 9, 9, 22}, { 9, 9, 25}, { 9, 9, 26}, { 9, 9, 28}, { 9, 9, 32}, { 9, 9, 45}, { 9, 10, 7}, { 9, 10, 9}, { 9, 10, 10}, { 9, 10, 12}, { 9, 10, 32}, { 9, 11, 23}, { 9, 12, 9}, { 9, 12, 10}, { 9, 12, 12}, { 9, 12, 32}, { 9, 13, 4}, { 9, 13, 5}, { 9, 13, 7}, { 9, 13, 9}, { 9, 13, 13}, { 9, 13, 25}, { 9, 13, 26}, { 9, 13, 28}, { 9, 13, 32}, { 9, 13, 45}, { 9, 15, 6}, { 9, 15, 30}, { 9, 16, 26}, { 9, 18, 9}, { 9, 19, 12}, { 9, 21, 27}, { 9, 22, 9}, { 9, 22, 22}, { 9, 22, 32}, { 9, 22, 40}, { 9, 24, 5}, { 9, 25, 4}, { 9, 25, 5}, { 9, 25, 7}, { 9, 25, 9}, { 9, 25, 13}, { 9, 25, 25}, { 9, 25, 26}, { 9, 25, 28}, { 9, 25, 32}, { 9, 25, 45}, { 9, 26, 4}, { 9, 26, 5}, { 9, 26, 7}, { 9, 26, 9}, { 9, 26, 13}, { 9, 26, 25}, { 9, 26, 26}, { 9, 26, 28}, { 9, 26, 32}, { 9, 26, 45}, { 9, 28, 4}, { 9, 28, 5}, { 9, 28, 7}, { 9, 28, 9}, { 9, 28, 13}, { 9, 28, 25}, { 9, 28, 26}, { 9, 28, 28}, { 9, 28, 32}, { 9, 28, 39}, { 9, 28, 45}, { 9, 31, 45}, { 9, 32, 4}, { 9, 32, 5}, { 9, 32, 7}, { 9, 32, 9}, { 9, 32, 10}, { 9, 32, 12}, { 9, 32, 13}, { 9, 32, 22}, { 9, 32, 25}, { 9, 32, 26}, { 9, 32, 28}, { 9, 32, 32}, { 9, 32, 45}, { 9, 33, 24}, { 9, 36, 21}, { 9, 43, 35}, { 9, 45, 4}, { 9, 45, 5}, { 9, 45, 7}, { 9, 45, 9}, { 9, 45, 13}, { 9, 45, 19}, { 9, 45, 25}, { 9, 45, 26}, { 9, 45, 28}, { 9, 45, 32}, { 9, 45, 45}, {10, 4, 4}, {10, 4, 10}, {10, 4, 15}, {10, 4, 36}, {10, 5, 34}, {10, 6, 35}, {10, 6, 41}, {10, 9, 9}, {10, 9, 10}, {10, 9, 12}, {10, 9, 32}, {10, 10, 4}, {10, 10, 9}, {10, 10, 10}, {10, 10, 11}, {10, 10, 12}, {10, 10, 15}, {10, 10, 32}, {10, 12, 9}, {10, 12, 10}, {10, 12, 12}, {10, 12, 21}, {10, 12, 32}, {10, 13, 7}, {10, 13, 31}, {10, 14, 39}, {10, 15, 4}, {10, 15, 10}, {10, 15, 15}, {10, 16, 37}, {10, 17, 45}, {10, 18, 4}, {10, 19, 41}, {10, 20, 45}, {10, 21, 23}, {10, 23, 32}, {10, 25, 9}, {10, 32, 9}, {10, 32, 10}, {10, 32, 12}, {10, 32, 32}, {10, 36, 42}, {10, 37, 32}, {11, 5, 23}, {11, 5, 38}, {11, 6, 32}, {11, 7, 23}, {11, 9, 8}, {11, 10, 7}, {11, 10, 34}, {11, 11, 11}, {11, 11, 12}, {11, 11, 20}, {11, 11, 25}, {11, 11, 32}, {11, 11, 37}, {11, 12, 11}, {11, 12, 12}, {11, 12, 20}, {11, 12, 25}, {11, 12, 32}, {11, 12, 37}, {11, 13, 5}, {11, 14, 30}, {11, 17, 32}, {11, 20, 11}, {11, 20, 12}, {11, 20, 20}, {11, 20, 25}, {11, 20, 32}, {11, 21, 14}, {11, 21, 17}, {11, 21, 31}, {11, 22, 37}, {11, 24, 21}, {11, 25, 6}, {11, 25, 11}, {11, 25, 12}, {11, 25, 20}, {11, 25, 25}, {11, 25, 32}, {11, 31, 19}, {11, 31, 35}, {11, 32, 11}, {11, 32, 12}, {11, 32, 20}, {11, 32, 25}, {11, 32, 32}, {11, 35, 5}, {11, 39, 22}, {11, 42, 5}, {12, 5, 5}, {12, 5, 12}, {12, 5, 13}, {12, 5, 24}, {12, 5, 26}, {12, 5, 32}, {12, 9, 9}, {12, 9, 10}, {12, 9, 12}, {12, 9, 32}, {12, 10, 9}, {12, 10, 10}, {12, 10, 12}, {12, 10, 27}, {12, 10, 32}, {12, 11, 11}, {12, 11, 12}, {12, 11, 20}, {12, 11, 25}, {12, 11, 32}, {12, 12, 5}, {12, 12, 9}, {12, 12, 10}, {12, 12, 11}, {12, 12, 12}, {12, 12, 13}, {12, 12, 16}, {12, 12, 20}, {12, 12, 25}, {12, 12, 26}, {12, 12, 32}, {12, 12, 41}, {12, 13, 5}, {12, 13, 7}, {12, 13, 12}, {12, 13, 13}, {12, 13, 26}, {12, 13, 32}, {12, 16, 12}, {12, 16, 16}, {12, 16, 32}, {12, 17, 26}, {12, 20, 7}, {12, 20, 11}, {12, 20, 12}, {12, 20, 14}, {12, 20, 20}, {12, 20, 25}, {12, 20, 32}, {12, 22, 11}, {12, 22, 43}, {12, 25, 11}, {12, 25, 12}, {12, 25, 19}, {12, 25, 20}, {12, 25, 25}, {12, 25, 32}, {12, 26, 5}, {12, 26, 12}, {12, 26, 13}, {12, 26, 26}, {12, 26, 32}, {12, 26, 36}, {12, 27, 11}, {12, 30, 25}, {12, 32, 5}, {12, 32, 9}, {12, 32, 10}, {12, 32, 11}, {12, 32, 12}, {12, 32, 13}, {12, 32, 16}, {12, 32, 20}, {12, 32, 25}, {12, 32, 26}, {12, 32, 32}, {12, 34, 44}, {12, 35, 39}, {12, 36, 22}, {12, 39, 29}, {12, 40, 14}, {12, 40, 20}, {12, 42, 44}, {12, 45, 9}, {12, 45, 24}, {13, 4, 4}, {13, 4, 5}, {13, 4, 7}, {13, 4, 9}, {13, 4, 13}, {13, 4, 25}, {13, 4, 26}, {13, 4, 28}, {13, 4, 32}, {13, 4, 45}, {13, 5, 4}, {13, 5, 5}, {13, 5, 7}, {13, 5, 9}, {13, 5, 12}, {13, 5, 13}, {13, 5, 16}, {13, 5, 24}, {13, 5, 25}, {13, 5, 26}, {13, 5, 28}, {13, 5, 32}, {13, 5, 45}, {13, 7, 4}, {13, 7, 5}, {13, 7, 7}, {13, 7, 9}, {13, 7, 13}, {13, 7, 23}, {13, 7, 25}, {13, 7, 26}, {13, 7, 28}, {13, 7, 32}, {13, 7, 40}, {13, 7, 45}, {13, 9, 4}, {13, 9, 5}, {13, 9, 7}, {13, 9, 9}, {13, 9, 13}, {13, 9, 15}, {13, 9, 25}, {13, 9, 26}, {13, 9, 28}, {13, 9, 32}, {13, 9, 35}, {13, 9, 45}, {13, 12, 5}, {13, 12, 12}, {13, 12, 13}, {13, 12, 26}, {13, 12, 32}, {13, 13, 4}, {13, 13, 5}, {13, 13, 7}, {13, 13, 9}, {13, 13, 12}, {13, 13, 13}, {13, 13, 14}, {13, 13, 16}, {13, 13, 24}, {13, 13, 25}, {13, 13, 26}, {13, 13, 28}, {13, 13, 32}, {13, 13, 45}, {13, 14, 13}, {13, 14, 14}, {13, 14, 25}, {13, 14, 26}, {13, 14, 32}, {13, 14, 34}, {13, 16, 5}, {13, 16, 13}, {13, 16, 16}, {13, 16, 32}, {13, 17, 26}, {13, 17, 33}, {13, 18, 45}, {13, 20, 5}, {13, 24, 5}, {13, 24, 13}, {13, 24, 17}, {13, 24, 24}, {13, 24, 26}, {13, 24, 32}, {13, 25, 4}, {13, 25, 5}, {13, 25, 7}, {13, 25, 9}, {13, 25, 13}, {13, 25, 14}, {13, 25, 25}, {13, 25, 26}, {13, 25, 28}, {13, 25, 32}, {13, 25, 45}, {13, 26, 4}, {13, 26, 5}, {13, 26, 7}, {13, 26, 9}, {13, 26, 12}, {13, 26, 13}, {13, 26, 14}, {13, 26, 24}, {13, 26, 25}, {13, 26, 26}, {13, 26, 28}, {13, 26, 32}, {13, 26, 45}, {13, 27, 4}, {13, 28, 4}, {13, 28, 5}, {13, 28, 7}, {13, 28, 9}, {13, 28, 13}, {13, 28, 25}, {13, 28, 26}, {13, 28, 28}, {13, 28, 31}, {13, 28, 32}, {13, 28, 45}, {13, 29, 45}, {13, 30, 41}, {13, 32, 4}, {13, 32, 5}, {13, 32, 7}, {13, 32, 9}, {13, 32, 12}, {13, 32, 13}, {13, 32, 14}, {13, 32, 16}, {13, 32, 24}, {13, 32, 25}, {13, 32, 26}, {13, 32, 28}, {13, 32, 32}, {13, 32, 45}, {13, 33, 10}, {13, 38, 37}, {13, 38, 45}, {13, 39, 41}, {13, 43, 13}, {13, 44, 33}, {13, 45, 4}, {13, 45, 5}, {13, 45, 7}, {13, 45, 9}, {13, 45, 13}, {13, 45, 24}, {13, 45, 25}, {13, 45, 26}, {13, 45, 28}, {13, 45, 32}, {13, 45, 45}, {14, 4, 29}, {14, 4, 32}, {14, 4, 39}, {14, 5, 33}, {14, 6, 39}, {14, 8, 4}, {14, 8, 13}, {14, 9, 11}, {14, 10, 9}, {14, 11, 15}, {14, 13, 13}, {14, 13, 14}, {14, 13, 25}, {14, 13, 26}, {14, 13, 32}, {14, 13, 36}, {14, 14, 4}, {14, 14, 10}, {14, 14, 13}, {14, 14, 14}, {14, 14, 16}, {14, 14, 19}, {14, 14, 21}, {14, 14, 25}, {14, 14, 26}, {14, 14, 29}, {14, 14, 32}, {14, 15, 22}, {14, 16, 14}, {14, 16, 16}, {14, 16, 29}, {14, 19, 29}, {14, 25, 9}, {14, 25, 13}, {14, 25, 14}, {14, 25, 25}, {14, 25, 26}, {14, 25, 32}, {14, 26, 13}, {14, 26, 14}, {14, 26, 25}, {14, 26, 26}, {14, 26, 32}, {14, 27, 16}, {14, 29, 14}, {14, 29, 16}, {14, 29, 28}, {14, 29, 29}, {14, 29, 32}, {14, 32, 13}, {14, 32, 14}, {14, 32, 25}, {14, 32, 26}, {14, 32, 29}, {14, 32, 32}, {14, 32, 44}, {14, 34, 14}, {14, 36, 31}, {14, 40, 7}, {14, 42, 18}, {15, 4, 4}, {15, 4, 10}, {15, 4, 15}, {15, 6, 9}, {15, 8, 29}, {15, 9, 18}, {15, 10, 4}, {15, 10, 10}, {15, 10, 15}, {15, 10, 23}, {15, 11, 7}, {15, 11, 12}, {15, 11, 23}, {15, 15, 4}, {15, 15, 10}, {15, 15, 15}, {15, 15, 22}, {15, 17, 44}, {15, 19, 43}, {15, 23, 20}, {15, 24, 38}, {15, 24, 40}, {15, 25, 9}, {15, 27, 40}, {15, 29, 21}, {15, 29, 28}, {15, 29, 33}, {15, 33, 18}, {15, 33, 42}, {15, 35, 36}, {15, 38, 42}, {15, 38, 43}, {15, 39, 36}, {15, 42, 5}, {16, 5, 5}, {16, 5, 13}, {16, 5, 15}, {16, 5, 16}, {16, 5, 28}, {16, 5, 32}, {16, 6, 6}, {16, 6, 7}, {16, 9, 23}, {16, 10, 44}, {16, 12, 12}, {16, 12, 16}, {16, 12, 32}, {16, 13, 5}, {16, 13, 13}, {16, 13, 16}, {16, 13, 32}, {16, 13, 45}, {16, 14, 14}, {16, 14, 16}, {16, 14, 17}, {16, 14, 29}, {16, 15, 33}, {16, 16, 5}, {16, 16, 12}, {16, 16, 13}, {16, 16, 14}, {16, 16, 16}, {16, 16, 25}, {16, 16, 29}, {16, 16, 30}, {16, 16, 32}, {16, 16, 45}, {16, 22, 19}, {16, 24, 23}, {16, 24, 43}, {16, 29, 14}, {16, 29, 16}, {16, 29, 29}, {16, 30, 32}, {16, 30, 42}, {16, 32, 5}, {16, 32, 12}, {16, 32, 13}, {16, 32, 16}, {16, 32, 32}, {16, 33, 15}, {16, 35, 6}, {16, 35, 26}, {16, 35, 31}, {16, 37, 23}, {16, 40, 8}, {16, 41, 9}, {16, 41, 17}, {17, 4, 40}, {17, 5, 10}, {17, 7, 41}, {17, 8, 4}, {17, 8, 8}, {17, 13, 21}, {17, 15, 15}, {17, 16, 45}, {17, 17, 17}, {17, 18, 45}, {17, 19, 8}, {17, 19, 34}, {17, 20, 32}, {17, 22, 14}, {17, 24, 17}, {17, 24, 23}, {17, 25, 5}, {17, 25, 40}, {17, 25, 42}, {17, 26, 26}, {17, 31, 19}, {17, 32, 21}, {17, 33, 43}, {17, 35, 39}, {17, 37, 37}, {17, 37, 38}, {17, 38, 21}, {18, 5, 20}, {18, 5, 34}, {18, 8, 22}, {18, 8, 45}, {18, 10, 4}, {18, 10, 21}, {18, 11, 22}, {18, 13, 37}, {18, 14, 16}, {18, 18, 18}, {18, 19, 4}, {18, 19, 32}, {18, 20, 21}, {18, 20, 26}, {18, 23, 43}, {18, 25, 7}, {18, 29, 4}, {18, 29, 8}, {18, 29, 13}, {18, 30, 9}, {18, 30, 13}, {18, 34, 30}, {18, 38, 15}, {18, 39, 11}, {19, 6, 14}, {19, 6, 36}, {19, 7, 20}, {19, 8, 45}, {19, 10, 27}, {19, 12, 27}, {19, 14, 22}, {19, 14, 29}, {19, 14, 35}, {19, 15, 10}, {19, 18, 30}, {19, 19, 19}, {19, 20, 27}, {19, 25, 35}, {19, 27, 38}, {19, 30, 10}, {19, 31, 10}, {19, 31, 28}, {19, 32, 6}, {19, 33, 30}, {19, 35, 7}, {19, 36, 21}, {19, 36, 22}, {19, 43, 21}, {19, 44, 33}, {20, 6, 22}, {20, 7, 14}, {20, 8, 25}, {20, 11, 11}, {20, 11, 12}, {20, 11, 20}, {20, 11, 25}, {20, 11, 32}, {20, 11, 42}, {20, 11, 45}, {20, 12, 11}, {20, 12, 12}, {20, 12, 14}, {20, 12, 20}, {20, 12, 25}, {20, 12, 32}, {20, 13, 44}, {20, 15, 11}, {20, 15, 34}, {20, 16, 26}, {20, 17, 12}, {20, 17, 27}, {20, 18, 43}, {20, 20, 11}, {20, 20, 12}, {20, 20, 20}, {20, 20, 25}, {20, 20, 32}, {20, 25, 11}, {20, 25, 12}, {20, 25, 20}, {20, 25, 25}, {20, 25, 32}, {20, 26, 9}, {20, 27, 45}, {20, 29, 37}, {20, 32, 11}, {20, 32, 12}, {20, 32, 20}, {20, 32, 25}, {20, 32, 32}, {20, 33, 6}, {20, 34, 18}, {20, 35, 38}, {20, 36, 6}, {20, 39, 41}, {20, 40, 16}, {20, 41, 41}, {20, 42, 35}, {20, 44, 7}, {20, 44, 9}, {20, 44, 34}, {20, 45, 14}, {20, 45, 33}, {21, 5, 23}, {21, 9, 15}, {21, 11, 42}, {21, 15, 11}, {21, 16, 4}, {21, 19, 5}, {21, 21, 21}, {21, 24, 16}, {21, 28, 8}, {21, 30, 27}, {21, 30, 33}, {21, 33, 37}, {21, 35, 10}, {21, 35, 11}, {21, 35, 20}, {21, 36, 18}, {21, 38, 30}, {21, 41, 18}, {21, 43, 28}, {21, 45, 38}, {22, 7, 37}, {22, 8, 17}, {22, 9, 9}, {22, 9, 22}, {22, 9, 32}, {22, 10, 4}, {22, 11, 23}, {22, 12, 5}, {22, 13, 43}, {22, 14, 43}, {22, 15, 10}, {22, 16, 31}, {22, 21, 21}, {22, 22, 9}, {22, 22, 22}, {22, 22, 32}, {22, 24, 20}, {22, 24, 38}, {22, 32, 9}, {22, 32, 22}, {22, 32, 32}, {22, 33, 29}, {22, 33, 33}, {22, 34, 34}, {22, 41, 26}, {22, 41, 33}, {22, 44, 38}, {23, 9, 18}, {23, 10, 30}, {23, 11, 6}, {23, 13, 22}, {23, 16, 22}, {23, 19, 13}, {23, 19, 24}, {23, 20, 22}, {23, 21, 22}, {23, 23, 17}, {23, 23, 23}, {23, 23, 34}, {23, 24, 18}, {23, 26, 39}, {23, 28, 23}, {23, 30, 40}, {23, 38, 23}, {23, 39, 9}, {23, 41, 18}, {23, 43, 21}, {23, 44, 22}, {24, 4, 6}, {24, 4, 40}, {24, 5, 5}, {24, 5, 13}, {24, 5, 24}, {24, 5, 26}, {24, 5, 32}, {24, 5, 43}, {24, 8, 41}, {24, 12, 5}, {24, 13, 5}, {24, 13, 13}, {24, 13, 24}, {24, 13, 26}, {24, 13, 32}, {24, 13, 43}, {24, 15, 22}, {24, 16, 20}, {24, 16, 33}, {24, 18, 15}, {24, 19, 16}, {24, 20, 43}, {24, 23, 45}, {24, 24, 5}, {24, 24, 11}, {24, 24, 13}, {24, 24, 24}, {24, 24, 26}, {24, 24, 32}, {24, 25, 22}, {24, 26, 5}, {24, 26, 13}, {24, 26, 24}, {24, 26, 26}, {24, 26, 32}, {24, 30, 36}, {24, 31, 27}, {24, 32, 5}, {24, 32, 13}, {24, 32, 24}, {24, 32, 26}, {24, 32, 32}, {24, 33, 32}, {24, 34, 7}, {24, 35, 11}, {24, 36, 25}, {24, 36, 43}, {24, 37, 44}, {24, 40, 17}, {24, 45, 14}, {25, 4, 4}, {25, 4, 5}, {25, 4, 7}, {25, 4, 8}, {25, 4, 9}, {25, 4, 13}, {25, 4, 25}, {25, 4, 26}, {25, 4, 28}, {25, 4, 32}, {25, 4, 45}, {25, 5, 4}, {25, 5, 5}, {25, 5, 7}, {25, 5, 9}, {25, 5, 13}, {25, 5, 25}, {25, 5, 26}, {25, 5, 28}, {25, 5, 32}, {25, 5, 45}, {25, 6, 43}, {25, 7, 4}, {25, 7, 5}, {25, 7, 7}, {25, 7, 9}, {25, 7, 13}, {25, 7, 25}, {25, 7, 26}, {25, 7, 27}, {25, 7, 28}, {25, 7, 32}, {25, 7, 45}, {25, 8, 4}, {25, 8, 13}, {25, 9, 4}, {25, 9, 5}, {25, 9, 7}, {25, 9, 9}, {25, 9, 13}, {25, 9, 25}, {25, 9, 26}, {25, 9, 28}, {25, 9, 32}, {25, 9, 45}, {25, 10, 5}, {25, 10, 13}, {25, 10, 19}, {25, 10, 40}, {25, 11, 11}, {25, 11, 12}, {25, 11, 16}, {25, 11, 20}, {25, 11, 25}, {25, 11, 32}, {25, 12, 11}, {25, 12, 12}, {25, 12, 20}, {25, 12, 25}, {25, 12, 32}, {25, 13, 4}, {25, 13, 5}, {25, 13, 7}, {25, 13, 9}, {25, 13, 13}, {25, 13, 14}, {25, 13, 25}, {25, 13, 26}, {25, 13, 28}, {25, 13, 32}, {25, 13, 45}, {25, 14, 13}, {25, 14, 14}, {25, 14, 25}, {25, 14, 26}, {25, 14, 32}, {25, 17, 26}, {25, 18, 26}, {25, 19, 35}, {25, 20, 11}, {25, 20, 12}, {25, 20, 20}, {25, 20, 25}, {25, 20, 32}, {25, 25, 4}, {25, 25, 5}, {25, 25, 7}, {25, 25, 9}, {25, 25, 11}, {25, 25, 12}, {25, 25, 13}, {25, 25, 14}, {25, 25, 20}, {25, 25, 25}, {25, 25, 26}, {25, 25, 28}, {25, 25, 32}, {25, 25, 45}, {25, 26, 4}, {25, 26, 5}, {25, 26, 7}, {25, 26, 9}, {25, 26, 13}, {25, 26, 14}, {25, 26, 25}, {25, 26, 26}, {25, 26, 28}, {25, 26, 32}, {25, 26, 45}, {25, 28, 4}, {25, 28, 5}, {25, 28, 7}, {25, 28, 9}, {25, 28, 13}, {25, 28, 18}, {25, 28, 25}, {25, 28, 26}, {25, 28, 28}, {25, 28, 32}, {25, 28, 40}, {25, 28, 45}, {25, 30, 32}, {25, 31, 36}, {25, 32, 4}, {25, 32, 5}, {25, 32, 7}, {25, 32, 9}, {25, 32, 11}, {25, 32, 12}, {25, 32, 13}, {25, 32, 14}, {25, 32, 18}, {25, 32, 20}, {25, 32, 25}, {25, 32, 26}, {25, 32, 28}, {25, 32, 32}, {25, 32, 45}, {25, 35, 20}, {25, 40, 37}, {25, 41, 4}, {25, 41, 42}, {25, 43, 34}, {25, 44, 6}, {25, 45, 4}, {25, 45, 5}, {25, 45, 7}, {25, 45, 9}, {25, 45, 13}, {25, 45, 25}, {25, 45, 26}, {25, 45, 28}, {25, 45, 32}, {25, 45, 40}, {25, 45, 45}, {26, 4, 4}, {26, 4, 5}, {26, 4, 7}, {26, 4, 9}, {26, 4, 13}, {26, 4, 25}, {26, 4, 26}, {26, 4, 27}, {26, 4, 28}, {26, 4, 32}, {26, 4, 45}, {26, 5, 4}, {26, 5, 5}, {26, 5, 7}, {26, 5, 9}, {26, 5, 12}, {26, 5, 13}, {26, 5, 24}, {26, 5, 25}, {26, 5, 26}, {26, 5, 28}, {26, 5, 32}, {26, 5, 45}, {26, 7, 4}, {26, 7, 5}, {26, 7, 7}, {26, 7, 9}, {26, 7, 13}, {26, 7, 25}, {26, 7, 26}, {26, 7, 28}, {26, 7, 31}, {26, 7, 32}, {26, 7, 45}, {26, 8, 4}, {26, 9, 4}, {26, 9, 5}, {26, 9, 7}, {26, 9, 9}, {26, 9, 13}, {26, 9, 25}, {26, 9, 26}, {26, 9, 28}, {26, 9, 32}, {26, 9, 45}, {26, 10, 12}, {26, 12, 5}, {26, 12, 12}, {26, 12, 13}, {26, 12, 26}, {26, 12, 32}, {26, 13, 4}, {26, 13, 5}, {26, 13, 7}, {26, 13, 9}, {26, 13, 12}, {26, 13, 13}, {26, 13, 14}, {26, 13, 24}, {26, 13, 25}, {26, 13, 26}, {26, 13, 28}, {26, 13, 32}, {26, 13, 45}, {26, 14, 13}, {26, 14, 14}, {26, 14, 25}, {26, 14, 26}, {26, 14, 32}, {26, 15, 44}, {26, 16, 22}, {26, 23, 30}, {26, 24, 5}, {26, 24, 13}, {26, 24, 24}, {26, 24, 26}, {26, 24, 32}, {26, 24, 42}, {26, 25, 4}, {26, 25, 5}, {26, 25, 7}, {26, 25, 8}, {26, 25, 9}, {26, 25, 12}, {26, 25, 13}, {26, 25, 14}, {26, 25, 25}, {26, 25, 26}, {26, 25, 28}, {26, 25, 32}, {26, 25, 45}, {26, 26, 4}, {26, 26, 5}, {26, 26, 7}, {26, 26, 9}, {26, 26, 12}, {26, 26, 13}, {26, 26, 14}, {26, 26, 24}, {26, 26, 25}, {26, 26, 26}, {26, 26, 28}, {26, 26, 32}, {26, 26, 45}, {26, 28, 4}, {26, 28, 5}, {26, 28, 7}, {26, 28, 9}, {26, 28, 13}, {26, 28, 25}, {26, 28, 26}, {26, 28, 28}, {26, 28, 32}, {26, 28, 45}, {26, 29, 5}, {26, 30, 16}, {26, 32, 4}, {26, 32, 5}, {26, 32, 7}, {26, 32, 9}, {26, 32, 12}, {26, 32, 13}, {26, 32, 14}, {26, 32, 24}, {26, 32, 25}, {26, 32, 26}, {26, 32, 28}, {26, 32, 32}, {26, 32, 45}, {26, 34, 7}, {26, 35, 42}, {26, 37, 15}, {26, 38, 23}, {26, 38, 44}, {26, 39, 33}, {26, 40, 24}, {26, 41, 38}, {26, 41, 45}, {26, 42, 13}, {26, 44, 12}, {26, 44, 21}, {26, 45, 4}, {26, 45, 5}, {26, 45, 7}, {26, 45, 9}, {26, 45, 13}, {26, 45, 24}, {26, 45, 25}, {26, 45, 26}, {26, 45, 28}, {26, 45, 32}, {26, 45, 45}, {27, 4, 7}, {27, 5, 32}, {27, 6, 17}, {27, 7, 37}, {27, 9, 22}, {27, 11, 39}, {27, 14, 18}, {27, 14, 36}, {27, 15, 35}, {27, 16, 31}, {27, 18, 14}, {27, 19, 4}, {27, 19, 12}, {27, 21, 7}, {27, 21, 29}, {27, 22, 23}, {27, 22, 28}, {27, 23, 35}, {27, 25, 33}, {27, 25, 44}, {27, 27, 27}, {27, 27, 31}, {27, 28, 29}, {27, 29, 31}, {27, 33, 19}, {27, 34, 44}, {27, 36, 26}, {27, 37, 37}, {27, 38, 20}, {27, 40, 42}, {27, 43, 4}, {27, 43, 22}, {27, 43, 39}, {27, 44, 23}, {28, 4, 4}, {28, 4, 5}, {28, 4, 7}, {28, 4, 9}, {28, 4, 13}, {28, 4, 25}, {28, 4, 26}, {28, 4, 28}, {28, 4, 32}, {28, 4, 45}, {28, 5, 4}, {28, 5, 5}, {28, 5, 7}, {28, 5, 9}, {28, 5, 13}, {28, 5, 25}, {28, 5, 26}, {28, 5, 28}, {28, 5, 32}, {28, 5, 45}, {28, 7, 4}, {28, 7, 5}, {28, 7, 7}, {28, 7, 9}, {28, 7, 13}, {28, 7, 25}, {28, 7, 26}, {28, 7, 28}, {28, 7, 32}, {28, 7, 45}, {28, 8, 14}, {28, 9, 4}, {28, 9, 5}, {28, 9, 7}, {28, 9, 9}, {28, 9, 13}, {28, 9, 25}, {28, 9, 26}, {28, 9, 28}, {28, 9, 31}, {28, 9, 32}, {28, 9, 45}, {28, 11, 42}, {28, 11, 45}, {28, 13, 4}, {28, 13, 5}, {28, 13, 7}, {28, 13, 9}, {28, 13, 13}, {28, 13, 25}, {28, 13, 26}, {28, 13, 28}, {28, 13, 32}, {28, 13, 45}, {28, 17, 14}, {28, 17, 45}, {28, 25, 4}, {28, 25, 5}, {28, 25, 7}, {28, 25, 9}, {28, 25, 13}, {28, 25, 25}, {28, 25, 26}, {28, 25, 28}, {28, 25, 32}, {28, 25, 35}, {28, 25, 41}, {28, 25, 45}, {28, 26, 4}, {28, 26, 5}, {28, 26, 7}, {28, 26, 9}, {28, 26, 13}, {28, 26, 25}, {28, 26, 26}, {28, 26, 28}, {28, 26, 32}, {28, 26, 45}, {28, 28, 4}, {28, 28, 5}, {28, 28, 7}, {28, 28, 9}, {28, 28, 13}, {28, 28, 25}, {28, 28, 26}, {28, 28, 28}, {28, 28, 32}, {28, 28, 45}, {28, 29, 25}, {28, 31, 34}, {28, 32, 4}, {28, 32, 5}, {28, 32, 7}, {28, 32, 9}, {28, 32, 13}, {28, 32, 25}, {28, 32, 26}, {28, 32, 28}, {28, 32, 32}, {28, 32, 45}, {28, 33, 5}, {28, 34, 9}, {28, 44, 10}, {28, 45, 4}, {28, 45, 5}, {28, 45, 7}, {28, 45, 9}, {28, 45, 13}, {28, 45, 25}, {28, 45, 26}, {28, 45, 28}, {28, 45, 32}, {28, 45, 45}, {29, 4, 21}, {29, 8, 19}, {29, 8, 31}, {29, 12, 17}, {29, 14, 14}, {29, 14, 16}, {29, 14, 29}, {29, 14, 32}, {29, 15, 26}, {29, 15, 27}, {29, 16, 9}, {29, 16, 14}, {29, 16, 16}, {29, 16, 29}, {29, 16, 39}, {29, 16, 43}, {29, 18, 23}, {29, 18, 24}, {29, 18, 30}, {29, 19, 33}, {29, 20, 17}, {29, 21, 16}, {29, 21, 40}, {29, 22, 41}, {29, 24, 29}, {29, 24, 39}, {29, 28, 17}, {29, 28, 35}, {29, 29, 14}, {29, 29, 16}, {29, 29, 29}, {29, 29, 32}, {29, 32, 14}, {29, 32, 29}, {29, 32, 32}, {29, 36, 37}, {29, 38, 25}, {29, 38, 40}, {29, 39, 20}, {29, 40, 11}, {29, 41, 24}, {29, 44, 9}, {29, 45, 29}, {30, 10, 36}, {30, 11, 16}, {30, 14, 37}, {30, 16, 9}, {30, 17, 43}, {30, 18, 11}, {30, 20, 17}, {30, 21, 8}, {30, 22, 18}, {30, 22, 45}, {30, 24, 40}, {30, 26, 42}, {30, 27, 17}, {30, 27, 39}, {30, 29, 4}, {30, 29, 20}, {30, 30, 30}, {30, 34, 8}, {30, 37, 45}, {30, 38, 36}, {30, 39, 30}, {30, 40, 45}, {30, 41, 28}, {30, 45, 29}, {31, 6, 37}, {31, 9, 44}, {31, 10, 16}, {31, 11, 30}, {31, 11, 40}, {31, 11, 43}, {31, 13, 17}, {31, 16, 22}, {31, 16, 28}, {31, 16, 37}, {31, 18, 8}, {31, 20, 14}, {31, 26, 5}, {31, 28, 11}, {31, 28, 25}, {31, 29, 5}, {31, 29, 20}, {31, 30, 26}, {31, 31, 31}, {31, 32, 18}, {31, 33, 14}, {31, 34, 22}, {31, 36, 44}, {31, 39, 6}, {31, 39, 26}, {31, 40, 40}, {31, 42, 5}, {31, 42, 14}, {31, 42, 16}, {31, 42, 41}, {31, 45, 13}, {32, 4, 4}, {32, 4, 5}, {32, 4, 7}, {32, 4, 9}, {32, 4, 13}, {32, 4, 25}, {32, 4, 26}, {32, 4, 28}, {32, 4, 32}, {32, 4, 45}, {32, 5, 4}, {32, 5, 5}, {32, 5, 7}, {32, 5, 9}, {32, 5, 12}, {32, 5, 13}, {32, 5, 16}, {32, 5, 24}, {32, 5, 25}, {32, 5, 26}, {32, 5, 28}, {32, 5, 32}, {32, 5, 33}, {32, 5, 45}, {32, 7, 4}, {32, 7, 5}, {32, 7, 7}, {32, 7, 9}, {32, 7, 13}, {32, 7, 25}, {32, 7, 26}, {32, 7, 28}, {32, 7, 32}, {32, 7, 45}, {32, 9, 4}, {32, 9, 5}, {32, 9, 7}, {32, 9, 9}, {32, 9, 10}, {32, 9, 12}, {32, 9, 13}, {32, 9, 22}, {32, 9, 25}, {32, 9, 26}, {32, 9, 28}, {32, 9, 32}, {32, 9, 45}, {32, 10, 9}, {32, 10, 10}, {32, 10, 12}, {32, 10, 32}, {32, 11, 11}, {32, 11, 12}, {32, 11, 17}, {32, 11, 20}, {32, 11, 25}, {32, 11, 32}, {32, 12, 5}, {32, 12, 9}, {32, 12, 10}, {32, 12, 11}, {32, 12, 12}, {32, 12, 13}, {32, 12, 16}, {32, 12, 20}, {32, 12, 25}, {32, 12, 26}, {32, 12, 32}, {32, 13, 4}, {32, 13, 5}, {32, 13, 7}, {32, 13, 9}, {32, 13, 12}, {32, 13, 13}, {32, 13, 14}, {32, 13, 16}, {32, 13, 24}, {32, 13, 25}, {32, 13, 26}, {32, 13, 28}, {32, 13, 32}, {32, 13, 45}, {32, 14, 13}, {32, 14, 14}, {32, 14, 25}, {32, 14, 26}, {32, 14, 29}, {32, 14, 32}, {32, 16, 5}, {32, 16, 12}, {32, 16, 13}, {32, 16, 16}, {32, 16, 32}, {32, 16, 39}, {32, 17, 43}, {32, 19, 14}, {32, 20, 11}, {32, 20, 12}, {32, 20, 20}, {32, 20, 25}, {32, 20, 32}, {32, 22, 9}, {32, 22, 22}, {32, 22, 32}, {32, 22, 33}, {32, 24, 5}, {32, 24, 13}, {32, 24, 16}, {32, 24, 24}, {32, 24, 26}, {32, 24, 32}, {32, 24, 36}, {32, 25, 4}, {32, 25, 5}, {32, 25, 7}, {32, 25, 9}, {32, 25, 11}, {32, 25, 12}, {32, 25, 13}, {32, 25, 14}, {32, 25, 20}, {32, 25, 25}, {32, 25, 26}, {32, 25, 28}, {32, 25, 32}, {32, 25, 36}, {32, 25, 37}, {32, 25, 45}, {32, 26, 4}, {32, 26, 5}, {32, 26, 7}, {32, 26, 9}, {32, 26, 12}, {32, 26, 13}, {32, 26, 14}, {32, 26, 24}, {32, 26, 25}, {32, 26, 26}, {32, 26, 28}, {32, 26, 32}, {32, 26, 45}, {32, 28, 4}, {32, 28, 5}, {32, 28, 7}, {32, 28, 9}, {32, 28, 13}, {32, 28, 25}, {32, 28, 26}, {32, 28, 28}, {32, 28, 32}, {32, 28, 45}, {32, 29, 14}, {32, 29, 29}, {32, 29, 32}, {32, 30, 7}, {32, 30, 32}, {32, 30, 39}, {32, 32, 4}, {32, 32, 5}, {32, 32, 7}, {32, 32, 9}, {32, 32, 10}, {32, 32, 11}, {32, 32, 12}, {32, 32, 13}, {32, 32, 14}, {32, 32, 16}, {32, 32, 20}, {32, 32, 22}, {32, 32, 24}, {32, 32, 25}, {32, 32, 26}, {32, 32, 28}, {32, 32, 29}, {32, 32, 32}, {32, 32, 45}, {32, 34, 41}, {32, 36, 26}, {32, 40, 40}, {32, 45, 4}, {32, 45, 5}, {32, 45, 7}, {32, 45, 9}, {32, 45, 13}, {32, 45, 25}, {32, 45, 26}, {32, 45, 28}, {32, 45, 32}, {32, 45, 45}, {33, 5, 35}, {33, 10, 21}, {33, 10, 30}, {33, 13, 7}, {33, 15, 26}, {33, 18, 18}, {33, 22, 24}, {33, 24, 44}, {33, 27, 16}, {33, 31, 9}, {33, 32, 27}, {33, 35, 9}, {33, 35, 11}, {33, 38, 23}, {33, 38, 39}, {33, 42, 21}, {33, 44, 31}, {33, 45, 19}, {34, 4, 20}, {34, 4, 27}, {34, 6, 27}, {34, 6, 42}, {34, 7, 26}, {34, 11, 16}, {34, 12, 4}, {34, 12, 8}, {34, 13, 44}, {34, 21, 16}, {34, 22, 19}, {34, 22, 28}, {34, 22, 40}, {34, 23, 13}, {34, 24, 27}, {34, 25, 9}, {34, 27, 15}, {34, 28, 40}, {34, 30, 9}, {34, 33, 26}, {34, 35, 30}, {34, 36, 20}, {34, 37, 30}, {34, 45, 27}, {35, 5, 23}, {35, 6, 12}, {35, 6, 13}, {35, 6, 43}, {35, 10, 12}, {35, 10, 17}, {35, 10, 24}, {35, 11, 8}, {35, 12, 28}, {35, 13, 5}, {35, 18, 17}, {35, 19, 9}, {35, 19, 15}, {35, 20, 37}, {35, 23, 4}, {35, 24, 36}, {35, 30, 5}, {35, 30, 7}, {35, 30, 38}, {35, 31, 41}, {35, 32, 20}, {35, 36, 9}, {35, 38, 30}, {35, 40, 29}, {35, 41, 15}, {35, 44, 20}, {35, 45, 35}, {36, 5, 8}, {36, 10, 26}, {36, 10, 36}, {36, 12, 18}, {36, 13, 31}, {36, 15, 14}, {36, 17, 8}, {36, 17, 42}, {36, 21, 42}, {36, 22, 28}, {36, 29, 42}, {36, 32, 14}, {36, 36, 8}, {36, 40, 38}, {36, 41, 4}, {36, 41, 29}, {36, 42, 43}, {36, 45, 31}, {37, 8, 34}, {37, 9, 40}, {37, 11, 33}, {37, 12, 45}, {37, 13, 16}, {37, 13, 32}, {37, 14, 37}, {37, 17, 21}, {37, 17, 33}, {37, 20, 31}, {37, 23, 19}, {37, 24, 40}, {37, 26, 14}, {37, 30, 43}, {37, 31, 9}, {37, 33, 26}, {37, 39, 15}, {37, 41, 14}, {37, 43, 41}, {37, 44, 27}, {37, 45, 23}, {38, 4, 25}, {38, 5, 41}, {38, 9, 18}, {38, 10, 43}, {38, 11, 41}, {38, 13, 15}, {38, 21, 5}, {38, 21, 19}, {38, 21, 21}, {38, 22, 13}, {38, 22, 23}, {38, 25, 5}, {38, 25, 25}, {38, 27, 4}, {38, 31, 21}, {38, 34, 18}, {38, 35, 6}, {38, 36, 17}, {38, 39, 39}, {38, 44, 37}, {39, 6, 37}, {39, 7, 19}, {39, 9, 7}, {39, 9, 26}, {39, 13, 35}, {39, 17, 44}, {39, 21, 8}, {39, 22, 10}, {39, 22, 24}, {39, 25, 24}, {39, 25, 36}, {39, 26, 23}, {39, 26, 32}, {39, 27, 27}, {39, 31, 33}, {39, 32, 38}, {39, 33, 12}, {39, 34, 45}, {39, 35, 11}, {39, 35, 31}, {39, 37, 11}, {39, 37, 45}, {39, 41, 22}, {39, 42, 23}, {39, 43, 29}, {39, 44, 4}, {40, 4, 6}, {40, 4, 15}, {40, 6, 4}, {40, 6, 25}, {40, 7, 22}, {40, 7, 43}, {40, 11, 41}, {40, 16, 17}, {40, 18, 6}, {40, 18, 10}, {40, 18, 42}, {40, 20, 29}, {40, 21, 18}, {40, 22, 5}, {40, 22, 42}, {40, 24, 24}, {40, 25, 42}, {40, 26, 15}, {40, 27, 41}, {40, 29, 38}, {40, 32, 42}, {40, 34, 12}, {40, 34, 27}, {40, 36, 28}, {40, 38, 14}, {40, 38, 42}, {40, 39, 34}, {40, 44, 13}, {41, 7, 4}, {41, 8, 41}, {41, 9, 10}, {41, 14, 8}, {41, 14, 18}, {41, 14, 41}, {41, 18, 32}, {41, 18, 35}, {41, 20, 33}, {41, 20, 37}, {41, 24, 45}, {41, 26, 21}, {41, 28, 14}, {41, 28, 15}, {41, 29, 24}, {41, 31, 36}, {41, 34, 5}, {41, 38, 24}, {41, 39, 29}, {41, 41, 6}, {41, 43, 39}, {41, 44, 44}, {41, 45, 45}, {42, 4, 29}, {42, 5, 17}, {42, 6, 21}, {42, 6, 35}, {42, 7, 34}, {42, 8, 12}, {42, 8, 18}, {42, 8, 19}, {42, 9, 43}, {42, 12, 29}, {42, 12, 44}, {42, 15, 17}, {42, 16, 29}, {42, 16, 33}, {42, 17, 8}, {42, 19, 17}, {42, 22, 14}, {42, 22, 22}, {42, 23, 7}, {42, 23, 33}, {42, 24, 8}, {42, 28, 17}, {42, 34, 5}, {42, 35, 12}, {42, 36, 44}, {42, 40, 23}, {42, 41, 9}, {42, 41, 28}, {42, 42, 5}, {42, 44, 15}, {43, 5, 22}, {43, 6, 5}, {43, 6, 39}, {43, 7, 21}, {43, 7, 22}, {43, 7, 35}, {43, 10, 23}, {43, 12, 14}, {43, 13, 43}, {43, 19, 31}, {43, 20, 22}, {43, 20, 33}, {43, 22, 11}, {43, 22, 17}, {43, 25, 12}, {43, 25, 20}, {43, 26, 20}, {43, 26, 41}, {43, 27, 8}, {43, 27, 11}, {43, 29, 20}, {43, 29, 24}, {43, 30, 17}, {43, 31, 9}, {43, 31, 37}, {43, 32, 35}, {43, 33, 8}, {43, 33, 14}, {43, 34, 25}, {43, 39, 34}, {43, 40, 13}, {43, 40, 21}, {43, 41, 16}, {43, 42, 19}, {43, 43, 10}, {43, 43, 17}, {43, 44, 35}, {43, 45, 7}, {44, 4, 36}, {44, 5, 12}, {44, 5, 22}, {44, 7, 43}, {44, 9, 9}, {44, 9, 40}, {44, 10, 38}, {44, 13, 25}, {44, 14, 8}, {44, 14, 9}, {44, 14, 41}, {44, 18, 23}, {44, 19, 24}, {44, 23, 13}, {44, 24, 10}, {44, 25, 25}, {44, 26, 38}, {44, 28, 16}, {44, 29, 40}, {44, 32, 37}, {44, 35, 32}, {44, 36, 11}, {44, 38, 23}, {44, 42, 34}, {44, 43, 19}, {44, 45, 29}, {44, 45, 30}, {45, 4, 4}, {45, 4, 5}, {45, 4, 7}, {45, 4, 9}, {45, 4, 13}, {45, 4, 25}, {45, 4, 26}, {45, 4, 28}, {45, 4, 32}, {45, 4, 45}, {45, 5, 4}, {45, 5, 5}, {45, 5, 7}, {45, 5, 9}, {45, 5, 13}, {45, 5, 25}, {45, 5, 26}, {45, 5, 28}, {45, 5, 32}, {45, 5, 39}, {45, 5, 45}, {45, 6, 25}, {45, 6, 37}, {45, 7, 4}, {45, 7, 5}, {45, 7, 7}, {45, 7, 9}, {45, 7, 13}, {45, 7, 25}, {45, 7, 26}, {45, 7, 28}, {45, 7, 32}, {45, 7, 45}, {45, 8, 15}, {45, 9, 4}, {45, 9, 5}, {45, 9, 7}, {45, 9, 9}, {45, 9, 13}, {45, 9, 18}, {45, 9, 25}, {45, 9, 26}, {45, 9, 28}, {45, 9, 32}, {45, 9, 45}, {45, 10, 13}, {45, 10, 44}, {45, 13, 4}, {45, 13, 5}, {45, 13, 7}, {45, 13, 9}, {45, 13, 13}, {45, 13, 25}, {45, 13, 26}, {45, 13, 28}, {45, 13, 32}, {45, 13, 45}, {45, 15, 40}, {45, 18, 13}, {45, 21, 37}, {45, 25, 4}, {45, 25, 5}, {45, 25, 7}, {45, 25, 9}, {45, 25, 13}, {45, 25, 25}, {45, 25, 26}, {45, 25, 28}, {45, 25, 32}, {45, 25, 45}, {45, 26, 4}, {45, 26, 5}, {45, 26, 7}, {45, 26, 9}, {45, 26, 13}, {45, 26, 25}, {45, 26, 26}, {45, 26, 28}, {45, 26, 32}, {45, 26, 45}, {45, 28, 4}, {45, 28, 5}, {45, 28, 6}, {45, 28, 7}, {45, 28, 9}, {45, 28, 13}, {45, 28, 25}, {45, 28, 26}, {45, 28, 28}, {45, 28, 32}, {45, 28, 45}, {45, 31, 44}, {45, 32, 4}, {45, 32, 5}, {45, 32, 7}, {45, 32, 9}, {45, 32, 11}, {45, 32, 13}, {45, 32, 20}, {45, 32, 25}, {45, 32, 26}, {45, 32, 28}, {45, 32, 32}, {45, 32, 45}, {45, 34, 20}, {45, 35, 25}, {45, 37, 9}, {45, 37, 38}, {45, 38, 26}, {45, 39, 13}, {45, 45, 4}, {45, 45, 5}, {45, 45, 7}, {45, 45, 9}, {45, 45, 13}, {45, 45, 25}, {45, 45, 26}, {45, 45, 28}, {45, 45, 32}, {45, 45, 45}, {55, 16, 16}, {55, 16, 29}, {55, 16, 55}, {55, 29, 16}, {55, 29, 29}, {55, 29, 32}, {55, 29, 55}, {55, 32, 29}, {55, 32, 32}, {55, 32, 55}, {55, 55, 16}, {55, 55, 29}, {55, 55, 32}, {55, 55, 55}, {64, 64, 64}, {78, 78, 78}, }; int n_triplets = libsmm_acc_triplets.size(); printf("# libsmm_acc has %d blocksizes for multiplication\n", n_triplets); int max_m=0, max_n=0, max_k=0; for (int i=0; i<n_triplets; i++) { max_m = std::max(max_n, libsmm_acc_triplets[i][0]); max_n = std::max(max_m, libsmm_acc_triplets[i][1]); max_k = std::max(max_k, libsmm_acc_triplets[i][2]); } libsmm_acc_benchmark_t* handle; libsmm_acc_benchmark_init(&handle, test, max_m, max_n, max_k); int errors = 0; for (int i=0; i<n_triplets; i++) { int m = libsmm_acc_triplets[i][0]; int n = libsmm_acc_triplets[i][1]; int k = libsmm_acc_triplets[i][2]; sprintf(buffer, "%d x %d x %d", m, n, k); errors += libsmm_acc_benchmark(handle, m, n, k, 1, &launcher_mm, kernel_descr); } libsmm_acc_benchmark_finalize(handle); printf("# Done, found %d matrix-matrix multiplication errors.\n", errors); return errors; }