libsmm_acc_unittest_multiply.cpp Source File


Source Code

/*------------------------------------------------------------------------------------------------*
 * 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, 45},
        { 4,  6,  4},
        { 4,  6,  5},
        { 4,  6,  6},
        { 4,  6,  7},
        { 4,  6,  8},
        { 4,  6,  9},
        { 4,  6, 39},
        { 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, 12},
        { 4,  9, 13},
        { 4,  9, 14},
        { 4,  9, 25},
        { 4,  9, 26},
        { 4,  9, 28},
        { 4,  9, 32},
        { 4,  9, 45},
        { 4, 10,  4},
        { 4, 10, 10},
        { 4, 10, 15},
        { 4, 13,  4},
        { 4, 13,  5},
        { 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, 23, 29},
        { 4, 24, 43},
        { 4, 25,  4},
        { 4, 25,  5},
        { 4, 25,  7},
        { 4, 25,  9},
        { 4, 25, 13},
        { 4, 25, 17},
        { 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,  9},
        { 4, 26, 13},
        { 4, 26, 25},
        { 4, 26, 26},
        { 4, 26, 28},
        { 4, 26, 32},
        { 4, 26, 45},
        { 4, 27, 22},
        { 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, 29, 15},
        { 4, 32,  4},
        { 4, 32,  5},
        { 4, 32,  7},
        { 4, 32,  9},
        { 4, 32, 13},
        { 4, 32, 14},
        { 4, 32, 25},
        { 4, 32, 26},
        { 4, 32, 28},
        { 4, 32, 32},
        { 4, 32, 45},
        { 4, 38, 35},
        { 4, 39,  5},
        { 4, 41, 30},
        { 4, 41, 33},
        { 4, 42, 13},
        { 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, 41},
        { 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, 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, 10, 12},
        { 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, 16,  5},
        { 5, 16, 13},
        { 5, 16, 16},
        { 5, 16, 32},
        { 5, 16, 45},
        { 5, 17, 43},
        { 5, 19,  9},
        { 5, 19, 31},
        { 5, 20, 16},
        { 5, 20, 39},
        { 5, 21, 39},
        { 5, 24,  5},
        { 5, 24, 13},
        { 5, 24, 24},
        { 5, 24, 26},
        { 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, 15},
        { 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, 45},
        { 5, 29, 36},
        { 5, 30, 25},
        { 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, 28},
        { 5, 33, 42},
        { 5, 37, 30},
        { 5, 37, 32},
        { 5, 38,  8},
        { 5, 38, 17},
        { 5, 39, 36},
        { 5, 43, 14},
        { 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,  5,  4},
        { 6,  5,  5},
        { 6,  5,  6},
        { 6,  5,  7},
        { 6,  5,  8},
        { 6,  5,  9},
        { 6,  5, 37},
        { 6,  6,  4},
        { 6,  6,  5},
        { 6,  6,  6},
        { 6,  6,  7},
        { 6,  6,  8},
        { 6,  6,  9},
        { 6,  6, 32},
        { 6,  7,  4},
        { 6,  7,  5},
        { 6,  7,  6},
        { 6,  7,  7},
        { 6,  7,  8},
        { 6,  7,  9},
        { 6,  7, 28},
        { 6,  7, 29},
        { 6,  8,  4},
        { 6,  8,  5},
        { 6,  8,  6},
        { 6,  8,  7},
        { 6,  8,  8},
        { 6,  8,  9},
        { 6,  9,  4},
        { 6,  9,  5},
        { 6,  9,  6},
        { 6,  9,  7},
        { 6,  9,  8},
        { 6,  9,  9},
        { 6, 10, 44},
        { 6, 11,  5},
        { 6, 13,  9},
        { 6, 13, 13},
        { 6, 15, 34},
        { 6, 21,  4},
        { 6, 24, 29},
        { 6, 26, 38},
        { 6, 27, 13},
        { 6, 28, 38},
        { 6, 29, 31},
        { 6, 33, 15},
        { 6, 33, 17},
        { 6, 35, 21},
        { 6, 35, 38},
        { 6, 39, 20},
        { 6, 40, 34},
        { 6, 42, 12},
        { 6, 42, 13},
        { 6, 43,  6},
        { 6, 45, 15},
        { 6, 45, 24},
        { 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, 11, 29},
        { 7, 12, 17},
        { 7, 12, 27},
        { 7, 13,  4},
        { 7, 13,  5},
        { 7, 13,  7},
        { 7, 13,  9},
        { 7, 13, 13},
        { 7, 13, 19},
        { 7, 13, 25},
        { 7, 13, 26},
        { 7, 13, 28},
        { 7, 13, 32},
        { 7, 13, 45},
        { 7, 14, 32},
        { 7, 19, 11},
        { 7, 21, 15},
        { 7, 24, 26},
        { 7, 25,  4},
        { 7, 25,  5},
        { 7, 25,  7},
        { 7, 25,  9},
        { 7, 25, 13},
        { 7, 25, 19},
        { 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, 16},
        { 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, 25},
        { 7, 28, 26},
        { 7, 28, 28},
        { 7, 28, 32},
        { 7, 28, 45},
        { 7, 29, 17},
        { 7, 30,  8},
        { 7, 30, 19},
        { 7, 30, 25},
        { 7, 31, 41},
        { 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, 40},
        { 7, 39,  6},
        { 7, 40,  6},
        { 7, 41,  5},
        { 7, 41, 17},
        { 7, 43, 18},
        { 7, 44, 11},
        { 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, 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,  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, 35},
        { 8,  8,  4},
        { 8,  8,  5},
        { 8,  8,  6},
        { 8,  8,  7},
        { 8,  8,  8},
        { 8,  8,  9},
        { 8,  8, 10},
        { 8,  9,  4},
        { 8,  9,  5},
        { 8,  9,  6},
        { 8,  9,  7},
        { 8,  9,  8},
        { 8,  9,  9},
        { 8,  9, 11},
        { 8, 15, 34},
        { 8, 19, 21},
        { 8, 19, 41},
        { 8, 20, 33},
        { 8, 21,  6},
        { 8, 21, 41},
        { 8, 24, 36},
        { 8, 24, 37},
        { 8, 26, 10},
        { 8, 26, 17},
        { 8, 26, 28},
        { 8, 27, 38},
        { 8, 28, 12},
        { 8, 35, 29},
        { 8, 38, 44},
        { 8, 39, 21},
        { 8, 39, 30},
        { 8, 41, 10},
        { 8, 41, 37},
        { 8, 42, 34},
        { 8, 45,  8},
        { 9,  4,  4},
        { 9,  4,  5},
        { 9,  4,  6},
        { 9,  4,  7},
        { 9,  4,  8},
        { 9,  4,  9},
        { 9,  4, 13},
        { 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, 25},
        { 9,  5, 26},
        { 9,  5, 28},
        { 9,  5, 32},
        { 9,  5, 45},
        { 9,  6,  4},
        { 9,  6,  5},
        { 9,  6,  6},
        { 9,  6,  7},
        { 9,  6,  8},
        { 9,  6,  9},
        { 9,  6, 23},
        { 9,  6, 40},
        { 9,  6, 42},
        { 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,  8, 17},
        { 9,  8, 32},
        { 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,  9},
        { 9, 10, 10},
        { 9, 10, 12},
        { 9, 10, 32},
        { 9, 11, 39},
        { 9, 11, 40},
        { 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, 21, 24},
        { 9, 22,  9},
        { 9, 22, 22},
        { 9, 22, 32},
        { 9, 23,  9},
        { 9, 24,  9},
        { 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, 31},
        { 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, 40},
        { 9, 28, 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, 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, 40},
        {10,  4, 42},
        {10,  5, 40},
        {10,  7,  6},
        {10,  8, 11},
        {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, 10, 43},
        {10, 11,  9},
        {10, 12,  9},
        {10, 12, 10},
        {10, 12, 12},
        {10, 12, 32},
        {10, 15,  4},
        {10, 15, 10},
        {10, 15, 15},
        {10, 16, 18},
        {10, 16, 23},
        {10, 17, 13},
        {10, 18, 35},
        {10, 18, 44},
        {10, 20, 31},
        {10, 22,  7},
        {10, 29, 25},
        {10, 30, 19},
        {10, 32,  9},
        {10, 32, 10},
        {10, 32, 12},
        {10, 32, 15},
        {10, 32, 32},
        {10, 38, 25},
        {10, 38, 31},
        {10, 40,  7},
        {10, 41, 37},
        {10, 43, 40},
        {11,  5, 38},
        {11,  5, 45},
        {11,  8, 29},
        {11,  8, 35},
        {11, 10, 30},
        {11, 11, 11},
        {11, 11, 12},
        {11, 11, 20},
        {11, 11, 25},
        {11, 11, 32},
        {11, 12, 11},
        {11, 12, 12},
        {11, 12, 20},
        {11, 12, 25},
        {11, 12, 29},
        {11, 12, 32},
        {11, 14, 17},
        {11, 15, 32},
        {11, 16, 12},
        {11, 20, 11},
        {11, 20, 12},
        {11, 20, 20},
        {11, 20, 25},
        {11, 20, 32},
        {11, 22,  8},
        {11, 22, 39},
        {11, 23,  8},
        {11, 24, 22},
        {11, 25, 11},
        {11, 25, 12},
        {11, 25, 20},
        {11, 25, 25},
        {11, 25, 32},
        {11, 26,  7},
        {11, 26, 29},
        {11, 27, 43},
        {11, 29, 16},
        {11, 31, 12},
        {11, 31, 13},
        {11, 32, 11},
        {11, 32, 12},
        {11, 32, 20},
        {11, 32, 25},
        {11, 32, 32},
        {11, 39,  7},
        {11, 39, 19},
        {11, 40, 28},
        {11, 41, 15},
        {11, 42, 17},
        {11, 42, 29},
        {11, 43,  6},
        {11, 43,  7},
        {11, 45, 36},
        {12,  5,  5},
        {12,  5, 12},
        {12,  5, 13},
        {12,  5, 26},
        {12,  5, 32},
        {12,  6, 15},
        {12,  6, 18},
        {12,  7,  8},
        {12,  9,  9},
        {12,  9, 10},
        {12,  9, 12},
        {12,  9, 32},
        {12, 10,  9},
        {12, 10, 10},
        {12, 10, 12},
        {12, 10, 25},
        {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, 13,  5},
        {12, 13, 12},
        {12, 13, 13},
        {12, 13, 26},
        {12, 13, 32},
        {12, 14, 33},
        {12, 15, 18},
        {12, 15, 36},
        {12, 16, 12},
        {12, 16, 16},
        {12, 16, 32},
        {12, 20, 11},
        {12, 20, 12},
        {12, 20, 20},
        {12, 20, 25},
        {12, 20, 32},
        {12, 21, 35},
        {12, 22, 15},
        {12, 23, 43},
        {12, 24, 40},
        {12, 25, 11},
        {12, 25, 12},
        {12, 25, 20},
        {12, 25, 25},
        {12, 25, 31},
        {12, 25, 32},
        {12, 25, 40},
        {12, 26,  5},
        {12, 26, 12},
        {12, 26, 13},
        {12, 26, 23},
        {12, 26, 26},
        {12, 26, 32},
        {12, 30, 38},
        {12, 31, 34},
        {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, 33, 15},
        {12, 33, 44},
        {12, 35, 16},
        {12, 36,  6},
        {12, 36, 43},
        {12, 41,  9},
        {12, 43, 15},
        {12, 44, 13},
        {13,  4,  4},
        {13,  4,  5},
        {13,  4,  7},
        {13,  4,  9},
        {13,  4, 12},
        {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, 20},
        {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, 25},
        {13,  7, 26},
        {13,  7, 28},
        {13,  7, 32},
        {13,  7, 45},
        {13,  8, 16},
        {13,  8, 25},
        {13,  9,  4},
        {13,  9,  5},
        {13,  9,  7},
        {13,  9,  9},
        {13,  9, 13},
        {13,  9, 25},
        {13,  9, 26},
        {13,  9, 28},
        {13,  9, 32},
        {13,  9, 45},
        {13, 12,  5},
        {13, 12, 12},
        {13, 12, 13},
        {13, 12, 26},
        {13, 12, 29},
        {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, 31},
        {13, 13, 32},
        {13, 13, 45},
        {13, 14, 13},
        {13, 14, 14},
        {13, 14, 25},
        {13, 14, 26},
        {13, 14, 32},
        {13, 16,  5},
        {13, 16,  9},
        {13, 16, 13},
        {13, 16, 16},
        {13, 16, 32},
        {13, 18, 24},
        {13, 19, 26},
        {13, 19, 40},
        {13, 24,  5},
        {13, 24, 13},
        {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, 33},
        {13, 25, 38},
        {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, 29},
        {13, 28,  4},
        {13, 28,  5},
        {13, 28,  7},
        {13, 28,  9},
        {13, 28, 13},
        {13, 28, 18},
        {13, 28, 25},
        {13, 28, 26},
        {13, 28, 28},
        {13, 28, 32},
        {13, 28, 45},
        {13, 30, 26},
        {13, 30, 31},
        {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, 38, 32},
        {13, 43, 42},
        {13, 44,  9},
        {13, 44, 17},
        {13, 44, 21},
        {13, 44, 31},
        {13, 44, 38},
        {13, 45,  4},
        {13, 45,  5},
        {13, 45,  7},
        {13, 45,  9},
        {13, 45, 13},
        {13, 45, 25},
        {13, 45, 26},
        {13, 45, 28},
        {13, 45, 32},
        {13, 45, 42},
        {13, 45, 45},
        {14,  5, 14},
        {14,  6,  7},
        {14,  6, 37},
        {14,  6, 41},
        {14,  8, 11},
        {14,  9, 32},
        {14,  9, 33},
        {14,  9, 44},
        {14, 12,  9},
        {14, 13, 13},
        {14, 13, 14},
        {14, 13, 19},
        {14, 13, 25},
        {14, 13, 26},
        {14, 13, 32},
        {14, 14, 13},
        {14, 14, 14},
        {14, 14, 16},
        {14, 14, 25},
        {14, 14, 26},
        {14, 14, 29},
        {14, 14, 32},
        {14, 15, 38},
        {14, 16, 14},
        {14, 16, 16},
        {14, 16, 29},
        {14, 16, 38},
        {14, 17,  4},
        {14, 19, 34},
        {14, 20, 20},
        {14, 23,  5},
        {14, 24, 35},
        {14, 25, 13},
        {14, 25, 14},
        {14, 25, 25},
        {14, 25, 26},
        {14, 25, 32},
        {14, 26,  7},
        {14, 26, 13},
        {14, 26, 14},
        {14, 26, 25},
        {14, 26, 26},
        {14, 26, 32},
        {14, 27, 10},
        {14, 29, 14},
        {14, 29, 16},
        {14, 29, 29},
        {14, 29, 32},
        {14, 30, 13},
        {14, 30, 29},
        {14, 30, 33},
        {14, 31, 13},
        {14, 32, 13},
        {14, 32, 14},
        {14, 32, 25},
        {14, 32, 26},
        {14, 32, 29},
        {14, 32, 32},
        {14, 36, 25},
        {14, 38, 36},
        {14, 39,  5},
        {14, 44, 36},
        {14, 45, 37},
        {15,  4,  4},
        {15,  4, 10},
        {15,  4, 13},
        {15,  4, 15},
        {15,  4, 18},
        {15,  4, 45},
        {15,  5, 45},
        {15,  6, 14},
        {15,  6, 33},
        {15,  7, 36},
        {15, 10,  4},
        {15, 10, 10},
        {15, 10, 15},
        {15, 13, 28},
        {15, 15,  4},
        {15, 15, 10},
        {15, 15, 15},
        {15, 15, 35},
        {15, 17, 23},
        {15, 22, 25},
        {15, 24,  6},
        {15, 25,  9},
        {15, 31, 30},
        {15, 31, 35},
        {15, 32, 43},
        {15, 33, 42},
        {15, 34, 29},
        {15, 35, 17},
        {15, 36, 29},
        {15, 37, 16},
        {15, 38, 25},
        {15, 38, 26},
        {15, 39, 19},
        {15, 39, 28},
        {15, 39, 43},
        {15, 41, 25},
        {15, 43, 21},
        {16,  4, 23},
        {16,  5,  5},
        {16,  5, 13},
        {16,  5, 16},
        {16,  5, 32},
        {16,  7, 32},
        {16, 12, 12},
        {16, 12, 16},
        {16, 12, 32},
        {16, 13,  5},
        {16, 13, 13},
        {16, 13, 16},
        {16, 13, 32},
        {16, 14, 14},
        {16, 14, 16},
        {16, 14, 29},
        {16, 16,  5},
        {16, 16, 12},
        {16, 16, 13},
        {16, 16, 14},
        {16, 16, 16},
        {16, 16, 24},
        {16, 16, 28},
        {16, 16, 29},
        {16, 16, 32},
        {16, 20,  7},
        {16, 23, 34},
        {16, 24, 14},
        {16, 24, 23},
        {16, 25, 16},
        {16, 25, 19},
        {16, 28, 21},
        {16, 29, 12},
        {16, 29, 14},
        {16, 29, 16},
        {16, 29, 29},
        {16, 30, 38},
        {16, 31,  9},
        {16, 32,  5},
        {16, 32, 12},
        {16, 32, 13},
        {16, 32, 16},
        {16, 32, 18},
        {16, 32, 29},
        {16, 32, 32},
        {16, 36,  4},
        {16, 37, 34},
        {16, 38,  9},
        {16, 44, 40},
        {16, 44, 45},
        {16, 45, 30},
        {17, 10, 21},
        {17, 10, 22},
        {17, 11, 30},
        {17, 13,  5},
        {17, 14, 26},
        {17, 15,  4},
        {17, 16,  5},
        {17, 17, 17},
        {17, 22, 38},
        {17, 22, 40},
        {17, 24, 33},
        {17, 30, 36},
        {17, 32, 35},
        {17, 34,  5},
        {17, 37, 40},
        {17, 39, 23},
        {17, 41, 10},
        {17, 42, 28},
        {17, 43, 40},
        {17, 43, 42},
        {18,  5, 21},
        {18,  8, 12},
        {18,  8, 14},
        {18,  9, 29},
        {18,  9, 31},
        {18, 11, 11},
        {18, 11, 38},
        {18, 15,  7},
        {18, 15, 25},
        {18, 15, 28},
        {18, 18, 18},
        {18, 19, 45},
        {18, 21, 21},
        {18, 22, 36},
        {18, 22, 41},
        {18, 26, 38},
        {18, 28,  5},
        {18, 28, 33},
        {18, 30, 31},
        {18, 39, 13},
        {18, 40, 13},
        {18, 41,  5},
        {18, 41, 29},
        {18, 43, 17},
        {19,  4, 44},
        {19,  5, 10},
        {19,  6, 19},
        {19,  6, 25},
        {19,  8,  5},
        {19, 10, 26},
        {19, 12, 28},
        {19, 12, 45},
        {19, 13, 22},
        {19, 14, 17},
        {19, 16, 27},
        {19, 17, 10},
        {19, 17, 41},
        {19, 19, 19},
        {19, 22, 17},
        {19, 22, 23},
        {19, 22, 30},
        {19, 25, 32},
        {19, 30, 35},
        {19, 32, 37},
        {19, 35, 10},
        {19, 35, 38},
        {19, 36, 13},
        {19, 37, 23},
        {19, 37, 27},
        {19, 40, 43},
        {19, 41, 33},
        {19, 42, 32},
        {19, 44, 44},
        {20,  8, 29},
        {20, 10, 11},
        {20, 10, 44},
        {20, 11, 11},
        {20, 11, 12},
        {20, 11, 20},
        {20, 11, 25},
        {20, 11, 32},
        {20, 12, 11},
        {20, 12, 12},
        {20, 12, 20},
        {20, 12, 23},
        {20, 12, 25},
        {20, 12, 32},
        {20, 13, 10},
        {20, 15, 32},
        {20, 18, 29},
        {20, 18, 31},
        {20, 19, 39},
        {20, 20,  8},
        {20, 20, 11},
        {20, 20, 12},
        {20, 20, 20},
        {20, 20, 25},
        {20, 20, 32},
        {20, 21,  9},
        {20, 21, 10},
        {20, 21, 34},
        {20, 21, 44},
        {20, 24,  5},
        {20, 24, 15},
        {20, 25, 11},
        {20, 25, 12},
        {20, 25, 20},
        {20, 25, 25},
        {20, 25, 32},
        {20, 26,  8},
        {20, 27,  4},
        {20, 27, 32},
        {20, 27, 37},
        {20, 28, 27},
        {20, 31, 30},
        {20, 32, 11},
        {20, 32, 12},
        {20, 32, 20},
        {20, 32, 25},
        {20, 32, 32},
        {20, 32, 42},
        {20, 33,  9},
        {20, 33, 10},
        {20, 36, 33},
        {20, 40, 34},
        {20, 43, 29},
        {21,  6, 19},
        {21, 10, 29},
        {21, 10, 33},
        {21, 12,  4},
        {21, 12, 42},
        {21, 13, 43},
        {21, 14,  8},
        {21, 17, 45},
        {21, 19, 30},
        {21, 19, 34},
        {21, 20, 26},
        {21, 21, 21},
        {21, 22, 32},
        {21, 23,  6},
        {21, 24, 26},
        {21, 25, 31},
        {21, 29, 22},
        {21, 30, 24},
        {21, 31, 36},
        {21, 31, 44},
        {21, 32, 10},
        {21, 32, 16},
        {21, 33, 33},
        {21, 37, 23},
        {21, 37, 35},
        {21, 38, 44},
        {21, 42, 20},
        {21, 43, 26},
        {21, 44, 10},
        {21, 45, 24},
        {21, 45, 25},
        {22,  4, 27},
        {22,  6,  8},
        {22,  7, 44},
        {22,  8, 20},
        {22,  8, 30},
        {22,  9,  9},
        {22,  9, 22},
        {22,  9, 32},
        {22, 10, 13},
        {22, 10, 35},
        {22, 11, 14},
        {22, 13, 44},
        {22, 17,  6},
        {22, 17, 13},
        {22, 22,  9},
        {22, 22, 22},
        {22, 22, 32},
        {22, 23, 21},
        {22, 25, 22},
        {22, 26,  9},
        {22, 26, 42},
        {22, 32,  9},
        {22, 32, 22},
        {22, 32, 32},
        {22, 33, 15},
        {22, 34,  4},
        {22, 34, 43},
        {22, 37,  4},
        {22, 38, 28},
        {22, 41, 22},
        {22, 44, 26},
        {22, 44, 34},
        {23,  6, 43},
        {23,  9, 37},
        {23, 13, 13},
        {23, 16, 11},
        {23, 17, 38},
        {23, 21, 41},
        {23, 21, 44},
        {23, 23, 23},
        {23, 25, 11},
        {23, 25, 39},
        {23, 30, 15},
        {23, 36, 27},
        {23, 37,  7},
        {23, 37, 28},
        {23, 39, 30},
        {23, 40, 17},
        {23, 42, 31},
        {23, 43, 40},
        {23, 44, 39},
        {24,  4, 26},
        {24,  5,  5},
        {24,  5, 13},
        {24,  5, 21},
        {24,  5, 24},
        {24,  5, 26},
        {24,  5, 32},
        {24,  8,  6},
        {24,  8, 40},
        {24, 13,  5},
        {24, 13, 13},
        {24, 13, 24},
        {24, 13, 26},
        {24, 13, 32},
        {24, 14,  4},
        {24, 14, 37},
        {24, 15, 28},
        {24, 17, 14},
        {24, 18, 20},
        {24, 18, 41},
        {24, 19, 25},
        {24, 19, 34},
        {24, 20,  4},
        {24, 22, 29},
        {24, 24,  5},
        {24, 24, 12},
        {24, 24, 13},
        {24, 24, 14},
        {24, 24, 24},
        {24, 24, 26},
        {24, 24, 32},
        {24, 24, 35},
        {24, 26,  5},
        {24, 26, 13},
        {24, 26, 24},
        {24, 26, 26},
        {24, 26, 32},
        {24, 28, 23},
        {24, 28, 31},
        {24, 30,  5},
        {24, 31, 14},
        {24, 32,  5},
        {24, 32,  8},
        {24, 32, 13},
        {24, 32, 24},
        {24, 32, 26},
        {24, 32, 32},
        {24, 33, 32},
        {24, 33, 37},
        {24, 36, 39},
        {24, 39, 28},
        {24, 39, 36},
        {24, 40, 33},
        {24, 40, 45},
        {24, 43, 32},
        {25,  4,  4},
        {25,  4,  5},
        {25,  4,  7},
        {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, 43},
        {25,  5, 45},
        {25,  7,  4},
        {25,  7,  5},
        {25,  7,  7},
        {25,  7,  9},
        {25,  7, 13},
        {25,  7, 25},
        {25,  7, 26},
        {25,  7, 28},
        {25,  7, 32},
        {25,  7, 45},
        {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, 44},
        {25,  9, 45},
        {25, 11, 11},
        {25, 11, 12},
        {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,  6},
        {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, 15, 29},
        {25, 15, 32},
        {25, 18, 12},
        {25, 19, 42},
        {25, 20, 11},
        {25, 20, 12},
        {25, 20, 20},
        {25, 20, 25},
        {25, 20, 32},
        {25, 24, 15},
        {25, 24, 36},
        {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, 37},
        {25, 26, 45},
        {25, 27, 37},
        {25, 28,  4},
        {25, 28,  5},
        {25, 28,  7},
        {25, 28,  9},
        {25, 28, 13},
        {25, 28, 25},
        {25, 28, 26},
        {25, 28, 28},
        {25, 28, 32},
        {25, 28, 45},
        {25, 31,  5},
        {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, 20},
        {25, 32, 25},
        {25, 32, 26},
        {25, 32, 28},
        {25, 32, 32},
        {25, 32, 45},
        {25, 33, 33},
        {25, 35, 29},
        {25, 36, 17},
        {25, 38, 26},
        {25, 38, 37},
        {25, 40, 30},
        {25, 41,  9},
        {25, 41, 42},
        {25, 42, 18},
        {25, 44, 37},
        {25, 45,  4},
        {25, 45,  5},
        {25, 45,  7},
        {25, 45,  9},
        {25, 45, 13},
        {25, 45, 15},
        {25, 45, 25},
        {25, 45, 26},
        {25, 45, 28},
        {25, 45, 32},
        {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, 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, 17},
        {26,  5, 24},
        {26,  5, 25},
        {26,  5, 26},
        {26,  5, 28},
        {26,  5, 32},
        {26,  5, 45},
        {26,  6,  6},
        {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, 32},
        {26,  7, 45},
        {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, 26},
        {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, 15},
        {26, 14, 25},
        {26, 14, 26},
        {26, 14, 32},
        {26, 15,  6},
        {26, 15, 38},
        {26, 18, 25},
        {26, 18, 26},
        {26, 18, 40},
        {26, 20, 33},
        {26, 24,  5},
        {26, 24, 13},
        {26, 24, 24},
        {26, 24, 26},
        {26, 24, 29},
        {26, 24, 32},
        {26, 25,  4},
        {26, 25,  5},
        {26, 25,  7},
        {26, 25,  9},
        {26, 25, 13},
        {26, 25, 14},
        {26, 25, 17},
        {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, 27, 22},
        {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, 37},
        {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, 36,  4},
        {26, 39, 18},
        {26, 40, 35},
        {26, 41,  7},
        {26, 42, 40},
        {26, 45,  4},
        {26, 45,  5},
        {26, 45,  7},
        {26, 45,  9},
        {26, 45, 13},
        {26, 45, 25},
        {26, 45, 26},
        {26, 45, 28},
        {26, 45, 31},
        {26, 45, 32},
        {26, 45, 45},
        {27,  6,  4},
        {27,  8, 12},
        {27,  8, 29},
        {27,  9, 40},
        {27,  9, 41},
        {27, 13,  7},
        {27, 17, 13},
        {27, 17, 45},
        {27, 18, 26},
        {27, 19, 12},
        {27, 23, 17},
        {27, 23, 25},
        {27, 23, 36},
        {27, 24,  6},
        {27, 24, 23},
        {27, 25, 15},
        {27, 27,  4},
        {27, 27, 27},
        {27, 36,  4},
        {27, 37, 14},
        {27, 37, 35},
        {27, 39, 37},
        {27, 42,  8},
        {27, 42, 26},
        {27, 44, 16},
        {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,  8},
        {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, 32},
        {28,  9, 45},
        {28, 10,  6},
        {28, 12, 39},
        {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, 14, 40},
        {28, 24,  9},
        {28, 25,  4},
        {28, 25,  5},
        {28, 25,  7},
        {28, 25,  9},
        {28, 25, 13},
        {28, 25, 24},
        {28, 25, 25},
        {28, 25, 26},
        {28, 25, 28},
        {28, 25, 32},
        {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, 27, 16},
        {28, 27, 18},
        {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, 31},
        {28, 28, 32},
        {28, 28, 45},
        {28, 30, 32},
        {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, 33},
        {28, 32, 45},
        {28, 33, 22},
        {28, 36, 30},
        {28, 39, 27},
        {28, 40, 44},
        {28, 41, 32},
        {28, 43, 10},
        {28, 44, 38},
        {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, 15},
        {29,  9,  9},
        {29,  9, 12},
        {29, 10,  5},
        {29, 11, 25},
        {29, 13, 44},
        {29, 14, 14},
        {29, 14, 16},
        {29, 14, 29},
        {29, 14, 32},
        {29, 16, 14},
        {29, 16, 16},
        {29, 16, 29},
        {29, 21, 29},
        {29, 22, 23},
        {29, 24, 24},
        {29, 25, 31},
        {29, 26,  7},
        {29, 29, 14},
        {29, 29, 16},
        {29, 29, 29},
        {29, 29, 32},
        {29, 31,  6},
        {29, 31, 36},
        {29, 31, 45},
        {29, 32, 14},
        {29, 32, 29},
        {29, 32, 32},
        {29, 32, 40},
        {29, 32, 42},
        {29, 33, 22},
        {29, 34, 11},
        {29, 35,  5},
        {29, 35, 10},
        {29, 36, 45},
        {29, 37, 45},
        {29, 38, 18},
        {29, 40, 14},
        {29, 41, 17},
        {29, 42, 23},
        {29, 45,  5},
        {30,  4, 32},
        {30,  6, 21},
        {30,  6, 32},
        {30,  6, 34},
        {30,  7,  5},
        {30,  7, 29},
        {30,  9, 29},
        {30,  9, 34},
        {30, 14, 39},
        {30, 14, 44},
        {30, 15, 28},
        {30, 20, 36},
        {30, 23, 14},
        {30, 27,  7},
        {30, 27, 44},
        {30, 29, 13},
        {30, 30, 30},
        {30, 31, 42},
        {30, 33, 45},
        {30, 36, 16},
        {30, 36, 29},
        {30, 40, 18},
        {30, 43, 25},
        {30, 44,  8},
        {30, 45, 13},
        {31,  8, 44},
        {31,  8, 45},
        {31, 12, 29},
        {31, 20, 23},
        {31, 20, 44},
        {31, 21, 20},
        {31, 22,  8},
        {31, 23, 30},
        {31, 23, 35},
        {31, 25, 17},
        {31, 26, 30},
        {31, 29,  5},
        {31, 31, 31},
        {31, 34, 19},
        {31, 35,  6},
        {31, 35, 45},
        {31, 36, 18},
        {31, 39, 43},
        {31, 45, 20},
        {31, 45, 41},
        {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, 10},
        {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, 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,  8, 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,  5},
        {32, 11,  7},
        {32, 11, 11},
        {32, 11, 12},
        {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, 12},
        {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, 26},
        {32, 16, 32},
        {32, 16, 38},
        {32, 18, 39},
        {32, 20, 11},
        {32, 20, 12},
        {32, 20, 20},
        {32, 20, 25},
        {32, 20, 32},
        {32, 21, 24},
        {32, 22,  9},
        {32, 22, 22},
        {32, 22, 32},
        {32, 24,  5},
        {32, 24, 13},
        {32, 24, 24},
        {32, 24, 26},
        {32, 24, 32},
        {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, 43},
        {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, 31, 11},
        {32, 31, 16},
        {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, 33, 26},
        {32, 34,  5},
        {32, 38,  7},
        {32, 39, 38},
        {32, 40,  5},
        {32, 40, 21},
        {32, 44, 22},
        {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,  7, 22},
        {33,  7, 26},
        {33,  7, 44},
        {33, 10,  6},
        {33, 10, 36},
        {33, 13, 27},
        {33, 15, 19},
        {33, 16, 13},
        {33, 16, 40},
        {33, 18, 25},
        {33, 18, 38},
        {33, 20, 25},
        {33, 21, 11},
        {33, 21, 18},
        {33, 23,  4},
        {33, 25,  5},
        {33, 26, 26},
        {33, 29, 39},
        {33, 32, 32},
        {33, 33, 10},
        {33, 34, 20},
        {33, 35, 34},
        {33, 36, 14},
        {33, 36, 26},
        {33, 36, 29},
        {33, 40, 14},
        {33, 40, 16},
        {34,  4, 21},
        {34,  5, 22},
        {34,  6,  8},
        {34,  6, 26},
        {34,  6, 34},
        {34,  7, 26},
        {34,  8, 43},
        {34, 12, 23},
        {34, 13, 12},
        {34, 17, 27},
        {34, 18, 22},
        {34, 26, 38},
        {34, 28,  7},
        {34, 28, 13},
        {34, 28, 28},
        {34, 28, 44},
        {34, 29, 18},
        {34, 29, 20},
        {34, 29, 32},
        {34, 30, 22},
        {34, 32, 31},
        {34, 35, 26},
        {34, 35, 37},
        {34, 37, 21},
        {34, 38, 43},
        {34, 40, 18},
        {34, 40, 38},
        {34, 44, 26},
        {35,  6,  7},
        {35,  7, 41},
        {35,  8,  4},
        {35, 12, 32},
        {35, 13, 19},
        {35, 16, 28},
        {35, 17, 16},
        {35, 19, 12},
        {35, 22,  4},
        {35, 22, 41},
        {35, 25, 12},
        {35, 28, 45},
        {35, 30, 45},
        {35, 31, 27},
        {35, 31, 40},
        {35, 33, 16},
        {35, 35, 37},
        {35, 36,  7},
        {35, 36, 23},
        {35, 39,  9},
        {35, 41, 38},
        {35, 42, 28},
        {35, 44, 30},
        {36,  4,  9},
        {36,  5, 36},
        {36,  7,  8},
        {36, 10,  4},
        {36, 10, 26},
        {36, 11, 23},
        {36, 12, 24},
        {36, 16, 15},
        {36, 17, 35},
        {36, 18, 19},
        {36, 21, 19},
        {36, 24, 10},
        {36, 25, 30},
        {36, 26,  5},
        {36, 26, 38},
        {36, 27, 38},
        {36, 28, 17},
        {36, 30, 27},
        {36, 31, 14},
        {36, 38, 31},
        {36, 40, 10},
        {36, 40, 42},
        {36, 44, 18},
        {36, 45, 13},
        {36, 45, 38},
        {36, 45, 39},
        {37,  5, 17},
        {37,  6, 43},
        {37,  7, 20},
        {37,  7, 35},
        {37,  8, 32},
        {37,  9, 45},
        {37, 10, 19},
        {37, 13, 33},
        {37, 13, 42},
        {37, 14,  5},
        {37, 15, 30},
        {37, 17, 11},
        {37, 19, 38},
        {37, 22,  8},
        {37, 22, 26},
        {37, 24, 20},
        {37, 25, 42},
        {37, 28, 39},
        {37, 29, 30},
        {37, 30, 17},
        {37, 33, 44},
        {37, 34, 26},
        {37, 36, 15},
        {37, 39, 10},
        {37, 42,  9},
        {38,  6, 40},
        {38,  7, 43},
        {38,  8, 24},
        {38, 10, 24},
        {38, 10, 42},
        {38, 11, 15},
        {38, 12, 29},
        {38, 12, 42},
        {38, 13, 45},
        {38, 14, 19},
        {38, 20,  5},
        {38, 21, 13},
        {38, 21, 22},
        {38, 22, 42},
        {38, 23, 33},
        {38, 27, 39},
        {38, 30, 33},
        {38, 32, 18},
        {38, 33, 14},
        {38, 33, 37},
        {38, 34,  7},
        {38, 36, 44},
        {38, 38, 25},
        {38, 40, 20},
        {38, 41, 42},
        {38, 42,  5},
        {39,  4, 18},
        {39,  4, 41},
        {39,  8, 25},
        {39, 11, 30},
        {39, 14,  6},
        {39, 17, 13},
        {39, 19, 37},
        {39, 22, 21},
        {39, 26, 40},
        {39, 28,  4},
        {39, 29,  7},
        {39, 31, 30},
        {39, 31, 37},
        {39, 34,  8},
        {39, 35, 36},
        {39, 35, 45},
        {39, 36, 28},
        {39, 38, 11},
        {39, 39, 27},
        {39, 40,  7},
        {39, 40, 15},
        {39, 41,  5},
        {39, 41, 15},
        {39, 43, 36},
        {39, 43, 42},
        {40,  8,  6},
        {40,  9, 22},
        {40,  9, 24},
        {40, 11, 43},
        {40, 12, 25},
        {40, 12, 29},
        {40, 14, 20},
        {40, 16, 30},
        {40, 17, 10},
        {40, 21,  8},
        {40, 30, 44},
        {40, 37, 36},
        {40, 40,  5},
        {40, 42, 23},
        {40, 43, 22},
        {40, 43, 23},
        {40, 45,  6},
        {40, 45, 10},
        {41,  9, 27},
        {41, 10, 10},
        {41, 15, 13},
        {41, 16, 14},
        {41, 16, 29},
        {41, 16, 45},
        {41, 18, 17},
        {41, 18, 29},
        {41, 18, 30},
        {41, 19, 35},
        {41, 22, 38},
        {41, 22, 40},
        {41, 23, 14},
        {41, 27, 27},
        {41, 27, 37},
        {41, 28, 22},
        {41, 29, 25},
        {41, 29, 31},
        {41, 34, 13},
        {41, 35, 26},
        {41, 36, 28},
        {41, 38, 10},
        {41, 40, 18},
        {41, 40, 45},
        {41, 42, 21},
        {41, 42, 27},
        {41, 45, 26},
        {42,  4,  9},
        {42,  6,  4},
        {42,  7, 40},
        {42,  9, 45},
        {42, 14, 15},
        {42, 14, 31},
        {42, 15, 20},
        {42, 15, 26},
        {42, 17, 17},
        {42, 17, 40},
        {42, 19, 18},
        {42, 19, 21},
        {42, 20, 20},
        {42, 23, 22},
        {42, 24, 10},
        {42, 25,  6},
        {42, 25, 45},
        {42, 26, 27},
        {42, 29,  9},
        {42, 30, 42},
        {42, 32, 12},
        {42, 32, 21},
        {42, 33, 17},
        {42, 37, 15},
        {42, 38, 31},
        {42, 39, 30},
        {42, 40, 15},
        {42, 40, 34},
        {42, 43, 28},
        {43,  4, 45},
        {43,  7, 14},
        {43,  7, 43},
        {43, 11,  5},
        {43, 11,  8},
        {43, 12, 35},
        {43, 13, 15},
        {43, 14, 27},
        {43, 17,  7},
        {43, 17, 44},
        {43, 19, 21},
        {43, 19, 45},
        {43, 21,  5},
        {43, 21, 32},
        {43, 22, 31},
        {43, 25, 26},
        {43, 26, 36},
        {43, 28,  8},
        {43, 32, 30},
        {43, 33, 20},
        {43, 34, 13},
        {43, 35, 20},
        {43, 38, 13},
        {43, 39, 24},
        {43, 39, 26},
        {43, 40, 38},
        {43, 41,  9},
        {43, 42, 30},
        {43, 43, 15},
        {44,  7, 10},
        {44,  7, 12},
        {44,  7, 38},
        {44,  8, 18},
        {44,  8, 26},
        {44, 13, 41},
        {44, 19, 21},
        {44, 23, 20},
        {44, 26,  8},
        {44, 26, 12},
        {44, 30, 41},
        {44, 31,  8},
        {44, 33, 42},
        {44, 34,  4},
        {44, 35,  4},
        {44, 37, 23},
        {44, 38, 11},
        {44, 39, 15},
        {44, 39, 39},
        {45,  4,  4},
        {45,  4,  5},
        {45,  4,  7},
        {45,  4,  9},
        {45,  4, 13},
        {45,  4, 14},
        {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, 45},
        {45,  6,  7},
        {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, 37},
        {45,  7, 40},
        {45,  7, 43},
        {45,  7, 45},
        {45,  9,  4},
        {45,  9,  5},
        {45,  9,  7},
        {45,  9,  9},
        {45,  9, 13},
        {45,  9, 15},
        {45,  9, 25},
        {45,  9, 26},
        {45,  9, 28},
        {45,  9, 32},
        {45,  9, 45},
        {45, 11, 20},
        {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, 42},
        {45, 13, 45},
        {45, 14, 14},
        {45, 16, 14},
        {45, 16, 25},
        {45, 18, 33},
        {45, 25,  4},
        {45, 25,  5},
        {45, 25,  7},
        {45, 25,  9},
        {45, 25, 10},
        {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, 21},
        {45, 26, 25},
        {45, 26, 26},
        {45, 26, 28},
        {45, 26, 32},
        {45, 26, 36},
        {45, 26, 45},
        {45, 28,  4},
        {45, 28,  5},
        {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, 30, 10},
        {45, 30, 19},
        {45, 31, 18},
        {45, 32,  4},
        {45, 32,  5},
        {45, 32,  7},
        {45, 32,  9},
        {45, 32, 13},
        {45, 32, 16},
        {45, 32, 25},
        {45, 32, 26},
        {45, 32, 28},
        {45, 32, 29},
        {45, 32, 32},
        {45, 32, 45},
        {45, 34,  8},
        {45, 34, 21},
        {45, 34, 25},
        {45, 36, 20},
        {45, 38, 10},
        {45, 38, 31},
        {45, 41, 44},
        {45, 42, 11},
        {45, 42, 21},
        {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;
}