libsmm_acc_timer_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 <cstdio>
#include <cstdlib>
#include <vector>
#include <array>
#include <algorithm>
#include "libsmm_acc_benchmark.h"
#include "libsmm_acc.h"

std::vector<Triplet> combinations(std::vector<int> to_combine) {

    std::vector<Triplet> v;
    size_t len = to_combine.size();
    for (size_t i=0; i<len; i++) {
        for (size_t j=0; j<len; j++) {
            for (size_t k=0; k<len; k++) {
                v.push_back({to_combine[i], to_combine[j], to_combine[k]});
            }
        }
    }
    return v;
}

/****************************************************************************\
  \brief Checks correctness of and measures performance of randomly selected
         libsmm_acc multiplication kernels.
  \returns -1 for invalid options, n>0 with n being the number of errors,
           0 otherwise
  \****************************************************************************/

int main(int argc, char* argv[]) {

    if (argc < 2) {
        printf("Usage: %s <autotuned|predicted>\n", argv[0]);
        return -1;
    }

    printf("Time kernels: %s\n", argv[1]);

    std::vector<Triplet> libsmm_acc_triplets;
    if (argv[1] == std::string("autotuned")) {

        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,  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, 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, 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,  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, 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, 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, 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, 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, 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, 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, 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, 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,  6,  4},
        { 6,  6,  5},
        { 6,  6,  6},
        { 6,  6,  7},
        { 6,  6,  8},
        { 6,  6,  9},
        { 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,  9,  4},
        { 6,  9,  5},
        { 6,  9,  6},
        { 6,  9,  7},
        { 6,  9,  8},
        { 6,  9,  9},
        { 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,  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, 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, 45},
        { 7, 25,  4},
        { 7, 25,  5},
        { 7, 25,  7},
        { 7, 25,  9},
        { 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, 25},
        { 7, 28, 26},
        { 7, 28, 28},
        { 7, 28, 32},
        { 7, 28, 45},
        { 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, 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,  8,  4},
        { 8,  8,  5},
        { 8,  8,  6},
        { 8,  8,  7},
        { 8,  8,  8},
        { 8,  8,  9},
        { 8,  9,  4},
        { 8,  9,  5},
        { 8,  9,  6},
        { 8,  9,  7},
        { 8,  9,  8},
        { 8,  9,  9},
        { 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,  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,  9},
        { 9, 10, 10},
        { 9, 10, 12},
        { 9, 10, 32},
        { 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, 22,  9},
        { 9, 22, 22},
        { 9, 22, 32},
        { 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, 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, 25},
        { 9, 45, 26},
        { 9, 45, 28},
        { 9, 45, 32},
        { 9, 45, 45},
        {10,  4,  4},
        {10,  4, 10},
        {10,  4, 15},
        {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, 32},
        {10, 15,  4},
        {10, 15, 10},
        {10, 15, 15},
        {10, 32,  9},
        {10, 32, 10},
        {10, 32, 12},
        {10, 32, 32},
        {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, 32},
        {11, 20, 11},
        {11, 20, 12},
        {11, 20, 20},
        {11, 20, 25},
        {11, 20, 32},
        {11, 25, 11},
        {11, 25, 12},
        {11, 25, 20},
        {11, 25, 25},
        {11, 25, 32},
        {11, 32, 11},
        {11, 32, 12},
        {11, 32, 20},
        {11, 32, 25},
        {11, 32, 32},
        {12,  5,  5},
        {12,  5, 12},
        {12,  5, 13},
        {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, 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, 16, 12},
        {12, 16, 16},
        {12, 16, 32},
        {12, 20, 11},
        {12, 20, 12},
        {12, 20, 20},
        {12, 20, 25},
        {12, 20, 32},
        {12, 25, 11},
        {12, 25, 12},
        {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, 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},
        {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, 25},
        {13,  7, 26},
        {13,  7, 28},
        {13,  7, 32},
        {13,  7, 45},
        {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, 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, 16,  5},
        {13, 16, 13},
        {13, 16, 16},
        {13, 16, 32},
        {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, 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, 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, 32},
        {13, 28, 45},
        {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, 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, 45},
        {14, 13, 13},
        {14, 13, 14},
        {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, 16, 14},
        {14, 16, 16},
        {14, 16, 29},
        {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, 29, 14},
        {14, 29, 16},
        {14, 29, 29},
        {14, 29, 32},
        {14, 32, 13},
        {14, 32, 14},
        {14, 32, 25},
        {14, 32, 26},
        {14, 32, 29},
        {14, 32, 32},
        {15,  4,  4},
        {15,  4, 10},
        {15,  4, 15},
        {15, 10,  4},
        {15, 10, 10},
        {15, 10, 15},
        {15, 15,  4},
        {15, 15, 10},
        {15, 15, 15},
        {16,  5,  5},
        {16,  5, 13},
        {16,  5, 16},
        {16,  5, 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, 29},
        {16, 16, 32},
        {16, 29, 14},
        {16, 29, 16},
        {16, 29, 29},
        {16, 32,  5},
        {16, 32, 12},
        {16, 32, 13},
        {16, 32, 16},
        {16, 32, 32},
        {17, 17, 17},
        {18, 18, 18},
        {19, 19, 19},
        {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, 25},
        {20, 12, 32},
        {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, 32, 11},
        {20, 32, 12},
        {20, 32, 20},
        {20, 32, 25},
        {20, 32, 32},
        {21, 21, 21},
        {22,  9,  9},
        {22,  9, 22},
        {22,  9, 32},
        {22, 22,  9},
        {22, 22, 22},
        {22, 22, 32},
        {22, 32,  9},
        {22, 32, 22},
        {22, 32, 32},
        {23, 23, 23},
        {24,  5,  5},
        {24,  5, 13},
        {24,  5, 24},
        {24,  5, 26},
        {24,  5, 32},
        {24, 13,  5},
        {24, 13, 13},
        {24, 13, 24},
        {24, 13, 26},
        {24, 13, 32},
        {24, 24,  5},
        {24, 24, 13},
        {24, 24, 24},
        {24, 24, 26},
        {24, 24, 32},
        {24, 26,  5},
        {24, 26, 13},
        {24, 26, 24},
        {24, 26, 26},
        {24, 26, 32},
        {24, 32,  5},
        {24, 32, 13},
        {24, 32, 24},
        {24, 32, 26},
        {24, 32, 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, 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, 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,  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, 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, 25},
        {25, 28, 26},
        {25, 28, 28},
        {25, 28, 32},
        {25, 28, 45},
        {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, 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, 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, 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, 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, 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, 24,  5},
        {26, 24, 13},
        {26, 24, 24},
        {26, 24, 26},
        {26, 24, 32},
        {26, 25,  4},
        {26, 25,  5},
        {26, 25,  7},
        {26, 25,  9},
        {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, 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, 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, 32},
        {26, 45, 45},
        {27, 27, 27},
        {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,  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, 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, 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, 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, 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, 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, 14, 14},
        {29, 14, 16},
        {29, 14, 29},
        {29, 14, 32},
        {29, 16, 14},
        {29, 16, 16},
        {29, 16, 29},
        {29, 29, 14},
        {29, 29, 16},
        {29, 29, 29},
        {29, 29, 32},
        {29, 32, 14},
        {29, 32, 29},
        {29, 32, 32},
        {30, 30, 30},
        {31, 31, 31},
        {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, 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, 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, 20, 11},
        {32, 20, 12},
        {32, 20, 20},
        {32, 20, 25},
        {32, 20, 32},
        {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, 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, 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, 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},
        {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, 45},
        {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,  9,  4},
        {45,  9,  5},
        {45,  9,  7},
        {45,  9,  9},
        {45,  9, 13},
        {45,  9, 25},
        {45,  9, 26},
        {45,  9, 28},
        {45,  9, 32},
        {45,  9, 45},
        {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, 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,  7},
        {45, 28,  9},
        {45, 28, 13},
        {45, 28, 25},
        {45, 28, 26},
        {45, 28, 28},
        {45, 28, 32},
        {45, 28, 45},
        {45, 32,  4},
        {45, 32,  5},
        {45, 32,  7},
        {45, 32,  9},
        {45, 32, 13},
        {45, 32, 25},
        {45, 32, 26},
        {45, 32, 28},
        {45, 32, 32},
        {45, 32, 45},
        {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},

        };

    } else if (argv[1] == std::string("predicted")) {

        libsmm_acc_triplets = {
            { 4,  5, 43},
        { 4,  6, 39},
        { 4,  7, 44},
        { 4, 11, 26},
        { 4, 13, 42},
        { 4, 14, 32},
        { 4, 15, 13},
        { 4, 16, 10},
        { 4, 17, 12},
        { 4, 17, 26},
        { 4, 19,  6},
        { 4, 19, 22},
        { 4, 20, 42},
        { 4, 21, 13},
        { 4, 21, 21},
        { 4, 22, 12},
        { 4, 22, 40},
        { 4, 23, 22},
        { 4, 28, 16},
        { 4, 29,  7},
        { 4, 31, 10},
        { 4, 36,  7},
        { 4, 38,  9},
        { 4, 38, 44},
        { 4, 39, 20},
        { 4, 39, 24},
        { 4, 44,  9},
        { 4, 45, 20},
        { 5,  5, 33},
        { 5,  8, 38},
        { 5, 11,  4},
        { 5, 11, 22},
        { 5, 11, 31},
        { 5, 12, 37},
        { 5, 17, 29},
        { 5, 18, 16},
        { 5, 19, 45},
        { 5, 22,  9},
        { 5, 24, 25},
        { 5, 26, 15},
        { 5, 26, 39},
        { 5, 30, 35},
        { 5, 32,  8},
        { 5, 33,  6},
        { 5, 34, 35},
        { 5, 34, 39},
        { 5, 36, 11},
        { 5, 37, 28},
        { 5, 38, 14},
        { 5, 39, 30},
        { 5, 39, 43},
        { 5, 40, 17},
        { 5, 40, 29},
        { 5, 40, 43},
        { 5, 43, 20},
        { 5, 43, 28},
        { 5, 44,  6},
        { 6,  8, 33},
        { 6, 11,  5},
        { 6, 11, 41},
        { 6, 14, 20},
        { 6, 14, 28},
        { 6, 15, 22},
        { 6, 15, 42},
        { 6, 17, 45},
        { 6, 18, 21},
        { 6, 19, 38},
        { 6, 22, 10},
        { 6, 23,  8},
        { 6, 23, 45},
        { 6, 25, 30},
        { 6, 28,  9},
        { 6, 31, 32},
        { 6, 31, 43},
        { 6, 32,  4},
        { 6, 33, 20},
        { 6, 33, 22},
        { 6, 35, 41},
        { 6, 37, 36},
        { 6, 39, 38},
        { 6, 41,  8},
        { 6, 44,  8},
        { 6, 45, 15},
        { 6, 45, 17},
        { 6, 45, 43},
        { 7,  5, 29},
        { 7,  8, 41},
        { 7, 11, 19},
        { 7, 12, 32},
        { 7, 16, 22},
        { 7, 19,  8},
        { 7, 20,  4},
        { 7, 23, 12},
        { 7, 26, 36},
        { 7, 26, 39},
        { 7, 26, 40},
        { 7, 27, 24},
        { 7, 28, 11},
        { 7, 33, 19},
        { 7, 35, 41},
        { 7, 40, 16},
        { 7, 43, 33},
        { 8,  4, 23},
        { 8,  4, 41},
        { 8,  6, 44},
        { 8,  7, 32},
        { 8,  9, 29},
        { 8, 10, 27},
        { 8, 12, 42},
        { 8, 14, 19},
        { 8, 15, 32},
        { 8, 22, 40},
        { 8, 27, 43},
        { 8, 30, 39},
        { 8, 32,  7},
        { 8, 36, 30},
        { 8, 36, 31},
        { 8, 40,  4},
        { 8, 40, 29},
        { 8, 40, 30},
        { 8, 41, 13},
        { 8, 44,  4},
        { 8, 44, 17},
        { 8, 44, 38},
        { 8, 44, 45},
        { 9,  6, 15},
        { 9,  7, 21},
        { 9,  8, 27},
        { 9, 11,  5},
        { 9, 13, 12},
        { 9, 13, 40},
        { 9, 14, 15},
        { 9, 20, 22},
        { 9, 21, 31},
        { 9, 22, 43},
        { 9, 26, 17},
        { 9, 26, 21},
        { 9, 27, 17},
        { 9, 30, 40},
        { 9, 32, 39},
        { 9, 34, 10},
        { 9, 37, 15},
        { 9, 37, 42},
        { 9, 40, 42},
        { 9, 41, 29},
        { 9, 41, 30},
        { 9, 42,  9},
        {10,  4, 28},
        {10,  5, 23},
        {10,  5, 44},
        {10,  9, 20},
        {10,  9, 41},
        {10, 11, 39},
        {10, 15, 37},
        {10, 18,  7},
        {10, 22,  5},
        {10, 23,  9},
        {10, 24, 14},
        {10, 26, 35},
        {10, 26, 36},
        {10, 27, 20},
        {10, 30, 10},
        {10, 32, 23},
        {10, 32, 24},
        {10, 33, 14},
        {10, 33, 32},
        {10, 34, 21},
        {10, 34, 28},
        {10, 34, 39},
        {10, 34, 45},
        {10, 36, 13},
        {10, 38,  9},
        {10, 39, 16},
        {10, 39, 22},
        {10, 41, 22},
        {10, 41, 28},
        {10, 41, 29},
        {10, 43, 42},
        {10, 45, 17},
        {11,  4, 33},
        {11,  6, 36},
        {11,  8, 37},
        {11,  8, 39},
        {11,  9, 33},
        {11,  9, 42},
        {11, 11,  9},
        {11, 13, 33},
        {11, 16, 45},
        {11, 18, 20},
        {11, 19, 13},
        {11, 19, 22},
        {11, 19, 41},
        {11, 21, 21},
        {11, 23, 17},
        {11, 25, 18},
        {11, 27, 26},
        {11, 28, 17},
        {11, 30, 38},
        {11, 33,  7},
        {11, 35, 20},
        {11, 39, 25},
        {11, 42, 19},
        {11, 45,  5},
        {12,  6, 14},
        {12,  7, 20},
        {12, 14, 44},
        {12, 16, 33},
        {12, 21, 33},
        {12, 23, 29},
        {12, 25, 26},
        {12, 28, 27},
        {12, 34, 18},
        {12, 35, 42},
        {12, 36, 20},
        {12, 36, 24},
        {12, 37, 28},
        {12, 41, 29},
        {12, 42, 30},
        {12, 43, 15},
        {12, 44,  9},
        {13,  4, 40},
        {13,  7, 22},
        {13,  8, 41},
        {13, 14,  7},
        {13, 15, 29},
        {13, 16, 44},
        {13, 18, 13},
        {13, 18, 23},
        {13, 19, 25},
        {13, 19, 41},
        {13, 20,  7},
        {13, 23,  8},
        {13, 23, 10},
        {13, 24, 15},
        {13, 25,  8},
        {13, 26, 34},
        {13, 26, 40},
        {13, 31, 27},
        {13, 32, 37},
        {13, 35, 37},
        {13, 37, 29},
        {13, 38, 18},
        {13, 40, 43},
        {13, 41, 21},
        {13, 45, 37},
        {14,  7, 22},
        {14,  8,  7},
        {14, 11, 39},
        {14, 12, 26},
        {14, 12, 28},
        {14, 15, 18},
        {14, 19, 23},
        {14, 22,  4},
        {14, 25,  7},
        {14, 26,  4},
        {14, 32, 12},
        {14, 33,  7},
        {14, 33, 19},
        {14, 33, 26},
        {14, 33, 36},
        {14, 34, 11},
        {14, 37, 30},
        {14, 38, 26},
        {14, 39,  8},
        {14, 41,  8},
        {14, 41, 23},
        {14, 43,  6},
        {15,  4, 36},
        {15,  5,  7},
        {15,  6, 34},
        {15,  7,  4},
        {15,  7,  7},
        {15,  7, 28},
        {15,  7, 35},
        {15,  8,  8},
        {15,  8, 15},
        {15,  8, 42},
        {15, 12,  9},
        {15, 12, 39},
        {15, 13, 28},
        {15, 13, 44},
        {15, 14, 25},
        {15, 14, 34},
        {15, 16,  6},
        {15, 18, 32},
        {15, 19,  8},
        {15, 22, 18},
        {15, 23, 22},
        {15, 25, 14},
        {15, 29, 38},
        {15, 30, 31},
        {15, 33, 30},
        {15, 34,  8},
        {15, 35, 21},
        {15, 44, 35},
        {16,  5, 14},
        {16,  5, 35},
        {16,  6, 32},
        {16,  8,  9},
        {16, 10, 27},
        {16, 10, 45},
        {16, 12, 14},
        {16, 12, 23},
        {16, 17, 12},
        {16, 17, 21},
        {16, 20, 25},
        {16, 20, 41},
        {16, 23, 44},
        {16, 25, 42},
        {16, 27,  8},
        {16, 30,  4},
        {16, 31,  7},
        {16, 31, 42},
        {16, 37, 39},
        {16, 39, 19},
        {16, 40,  7},
        {16, 40, 36},
        {16, 43, 23},
        {16, 44,  7},
        {17,  4, 17},
        {17,  8, 13},
        {17, 11, 31},
        {17, 13, 15},
        {17, 14,  5},
        {17, 14,  9},
        {17, 17, 39},
        {17, 28, 12},
        {17, 29,  7},
        {17, 30, 35},
        {17, 32, 41},
        {17, 33, 12},
        {17, 34, 24},
        {17, 36, 16},
        {17, 42, 45},
        {17, 44, 33},
        {18,  5, 42},
        {18,  5, 45},
        {18,  6, 31},
        {18,  8,  7},
        {18,  8, 27},
        {18,  9, 10},
        {18, 13, 24},
        {18, 17, 29},
        {18, 18, 23},
        {18, 20, 38},
        {18, 21, 26},
        {18, 21, 33},
        {18, 26, 14},
        {18, 27, 39},
        {18, 29, 20},
        {18, 30, 18},
        {18, 39, 35},
        {18, 40, 13},
        {18, 42,  5},
        {19,  8, 42},
        {19,  9,  5},
        {19, 10, 14},
        {19, 10, 40},
        {19, 12, 36},
        {19, 12, 41},
        {19, 13, 45},
        {19, 14, 33},
        {19, 16, 19},
        {19, 16, 44},
        {19, 19, 17},
        {19, 20, 24},
        {19, 21, 24},
        {19, 29, 45},
        {19, 30, 23},
        {19, 31, 44},
        {19, 35, 11},
        {19, 35, 13},
        {19, 36, 16},
        {19, 37, 20},
        {19, 37, 33},
        {19, 40, 12},
        {19, 40, 14},
        {20,  7, 40},
        {20,  8, 14},
        {20, 10, 34},
        {20, 13, 44},
        {20, 15, 26},
        {20, 16, 11},
        {20, 18, 28},
        {20, 22, 13},
        {20, 22, 31},
        {20, 23, 28},
        {20, 25,  7},
        {20, 25, 22},
        {20, 25, 31},
        {20, 26,  4},
        {20, 28, 25},
        {20, 28, 28},
        {20, 30, 19},
        {20, 30, 33},
        {20, 31, 12},
        {20, 31, 33},
        {20, 39, 25},
        {20, 40, 10},
        {20, 44, 37},
        {20, 44, 45},
        {21,  5, 40},
        {21,  6, 42},
        {21,  7, 14},
        {21,  8, 23},
        {21, 10, 34},
        {21, 12, 24},
        {21, 13, 45},
        {21, 19,  7},
        {21, 19, 27},
        {21, 19, 37},
        {21, 20, 21},
        {21, 20, 38},
        {21, 22, 34},
        {21, 24,  4},
        {21, 24, 32},
        {21, 25,  5},
        {21, 26, 23},
        {21, 26, 43},
        {21, 28, 23},
        {21, 29, 18},
        {21, 30, 12},
        {21, 35, 14},
        {21, 38, 14},
        {21, 38, 41},
        {21, 39, 27},
        {21, 40, 14},
        {21, 40, 17},
        {21, 43,  9},
        {21, 45, 12},
        {22,  4, 31},
        {22,  6, 38},
        {22, 11,  8},
        {22, 11, 31},
        {22, 14,  7},
        {22, 14, 34},
        {22, 15, 21},
        {22, 16, 35},
        {22, 18, 42},
        {22, 19, 40},
        {22, 19, 43},
        {22, 21, 10},
        {22, 22, 37},
        {22, 23, 29},
        {22, 25, 43},
        {22, 28, 45},
        {22, 30, 29},
        {22, 31, 23},
        {22, 31, 33},
        {22, 33, 12},
        {22, 36, 37},
        {22, 38, 24},
        {22, 38, 30},
        {22, 38, 32},
        {22, 40, 22},
        {22, 43, 41},
        {22, 45,  8},
        {23,  5, 38},
        {23,  7, 23},
        {23,  7, 39},
        {23,  9, 16},
        {23, 12,  9},
        {23, 12, 36},
        {23, 16, 30},
        {23, 17, 14},
        {23, 17, 26},
        {23, 17, 42},
        {23, 18, 26},
        {23, 19, 45},
        {23, 20, 18},
        {23, 20, 28},
        {23, 20, 33},
        {23, 22,  4},
        {23, 24, 12},
        {23, 26, 19},
        {23, 27, 21},
        {23, 30, 20},
        {23, 35, 40},
        {23, 38,  7},
        {23, 38, 18},
        {23, 38, 27},
        {23, 40, 31},
        {23, 40, 34},
        {23, 41, 13},
        {23, 45, 11},
        {24,  7, 40},
        {24,  8,  4},
        {24,  9, 18},
        {24, 10, 13},
        {24, 11, 27},
        {24, 12,  9},
        {24, 16, 41},
        {24, 17, 22},
        {24, 17, 33},
        {24, 18, 18},
        {24, 18, 26},
        {24, 19, 31},
        {24, 23, 22},
        {24, 23, 28},
        {24, 25, 43},
        {24, 27,  6},
        {24, 27,  9},
        {24, 28, 25},
        {24, 31,  5},
        {24, 31, 36},
        {24, 35, 31},
        {24, 35, 37},
        {24, 41, 37},
        {24, 43, 42},
        {24, 44,  6},
        {24, 44, 16},
        {25,  4, 22},
        {25,  5, 39},
        {25,  6, 26},
        {25,  9,  6},
        {25, 10, 21},
        {25, 13, 22},
        {25, 15, 24},
        {25, 15, 39},
        {25, 21, 11},
        {25, 21, 38},
        {25, 23, 10},
        {25, 28, 23},
        {25, 29, 21},
        {25, 31, 29},
        {25, 32,  8},
        {25, 33, 16},
        {25, 36, 33},
        {25, 37, 22},
        {25, 41, 36},
        {25, 45, 22},
        {25, 45, 39},
        {26,  4,  8},
        {26,  7, 43},
        {26,  8, 45},
        {26,  9, 38},
        {26, 11,  6},
        {26, 12, 22},
        {26, 14, 24},
        {26, 18,  4},
        {26, 19, 39},
        {26, 21, 28},
        {26, 22, 17},
        {26, 23, 28},
        {26, 25, 17},
        {26, 26, 27},
        {26, 27, 38},
        {26, 28, 31},
        {26, 32, 15},
        {26, 33,  8},
        {26, 39, 32},
        {26, 40, 22},
        {26, 40, 26},
        {26, 42, 35},
        {26, 42, 41},
        {26, 44,  9},
        {26, 44, 41},
        {27,  4,  6},
        {27,  6, 31},
        {27,  7, 21},
        {27, 11, 42},
        {27, 16, 17},
        {27, 16, 33},
        {27, 18, 40},
        {27, 19, 18},
        {27, 22,  6},
        {27, 23,  7},
        {27, 23, 20},
        {27, 24, 30},
        {27, 28, 24},
        {27, 31, 20},
        {27, 33, 10},
        {27, 35, 44},
        {27, 36, 18},
        {27, 36, 29},
        {27, 37,  5},
        {27, 37,  8},
        {27, 38, 26},
        {27, 40, 21},
        {27, 42, 34},
        {27, 42, 39},
        {27, 44, 40},
        {28,  5, 29},
        {28,  6, 13},
        {28,  7, 22},
        {28,  9, 41},
        {28, 11, 10},
        {28, 12, 22},
        {28, 13, 24},
        {28, 16, 10},
        {28, 19, 30},
        {28, 23, 12},
        {28, 29, 31},
        {28, 30, 30},
        {28, 30, 44},
        {28, 31, 34},
        {28, 33, 20},
        {28, 34, 36},
        {28, 40, 35},
        {28, 43, 20},
        {28, 44, 10},
        {29,  6,  8},
        {29,  6, 32},
        {29,  8, 10},
        {29,  8, 45},
        {29,  9, 30},
        {29, 11, 35},
        {29, 15, 16},
        {29, 15, 23},
        {29, 16, 25},
        {29, 17, 34},
        {29, 17, 39},
        {29, 21, 41},
        {29, 23,  9},
        {29, 23, 10},
        {29, 27,  9},
        {29, 29,  5},
        {29, 35, 10},
        {29, 36, 38},
        {29, 39, 10},
        {29, 40, 13},
        {29, 40, 24},
        {29, 41, 24},
        {29, 45, 22},
        {29, 45, 24},
        {29, 45, 25},
        {30,  9, 35},
        {30, 11,  5},
        {30, 12,  9},
        {30, 13, 15},
        {30, 13, 20},
        {30, 14,  5},
        {30, 17, 12},
        {30, 17, 44},
        {30, 19, 30},
        {30, 21,  9},
        {30, 27,  9},
        {30, 30, 20},
        {30, 30, 21},
        {30, 32, 42},
        {30, 33,  4},
        {30, 33, 45},
        {30, 35,  5},
        {30, 36,  5},
        {30, 36, 12},
        {30, 37,  8},
        {30, 40, 24},
        {30, 41, 28},
        {30, 42, 13},
        {30, 42, 14},
        {30, 43, 10},
        {30, 44, 34},
        {30, 45, 20},
        {30, 45, 24},
        {31, 10, 17},
        {31, 11, 35},
        {31, 12, 13},
        {31, 12, 20},
        {31, 12, 42},
        {31, 13, 26},
        {31, 14, 18},
        {31, 15, 21},
        {31, 16, 41},
        {31, 17, 29},
        {31, 19, 19},
        {31, 22, 16},
        {31, 22, 29},
        {31, 24, 38},
        {31, 26, 28},
        {31, 28, 45},
        {31, 32, 21},
        {31, 35,  9},
        {31, 35, 42},
        {31, 36, 17},
        {31, 36, 20},
        {31, 37, 37},
        {31, 40, 26},
        {31, 41, 36},
        {32,  4, 21},
        {32,  5, 42},
        {32,  6, 11},
        {32, 14, 27},
        {32, 16,  8},
        {32, 17, 23},
        {32, 17, 39},
        {32, 17, 41},
        {32, 19, 36},
        {32, 21, 29},
        {32, 22, 40},
        {32, 27, 36},
        {32, 30,  7},
        {32, 33, 26},
        {32, 34,  7},
        {32, 36, 17},
        {32, 41, 14},
        {32, 42, 25},
        {32, 42, 39},
        {32, 43, 38},
        {32, 43, 42},
        {32, 44, 22},
        {32, 45, 35},
        {33,  6, 29},
        {33,  7, 10},
        {33, 11, 11},
        {33, 11, 12},
        {33, 13, 32},
        {33, 16, 15},
        {33, 17, 17},
        {33, 18, 35},
        {33, 19, 41},
        {33, 20, 19},
        {33, 20, 32},
        {33, 21, 31},
        {33, 21, 38},
        {33, 24, 37},
        {33, 28, 22},
        {33, 29, 40},
        {33, 30,  6},
        {33, 32, 42},
        {33, 34,  7},
        {33, 34, 29},
        {33, 35, 29},
        {33, 36, 11},
        {33, 38, 20},
        {33, 43, 10},
        {34,  4, 20},
        {34,  8, 40},
        {34,  8, 43},
        {34,  9,  9},
        {34,  9, 21},
        {34, 11,  7},
        {34, 14, 10},
        {34, 14, 33},
        {34, 15, 28},
        {34, 16, 42},
        {34, 18, 16},
        {34, 19,  5},
        {34, 22, 44},
        {34, 24, 41},
        {34, 26, 14},
        {34, 28,  8},
        {34, 28, 42},
        {34, 31,  5},
        {34, 33, 40},
        {34, 34, 18},
        {34, 35,  5},
        {34, 36,  5},
        {34, 36, 33},
        {34, 39,  5},
        {34, 39, 11},
        {34, 42,  9},
        {34, 42, 26},
        {35,  6, 17},
        {35,  8, 38},
        {35, 10, 19},
        {35, 14, 14},
        {35, 16, 28},
        {35, 18,  9},
        {35, 19, 36},
        {35, 20, 11},
        {35, 21, 17},
        {35, 24, 25},
        {35, 29, 24},
        {35, 35, 10},
        {35, 36, 26},
        {35, 36, 29},
        {35, 37, 34},
        {35, 38,  4},
        {35, 38, 35},
        {35, 40, 29},
        {35, 42, 20},
        {35, 43,  8},
        {35, 44, 10},
        {35, 45, 21},
        {36,  6, 29},
        {36,  7, 30},
        {36,  9, 24},
        {36,  9, 37},
        {36, 11, 45},
        {36, 16, 19},
        {36, 17,  7},
        {36, 17, 31},
        {36, 21, 35},
        {36, 22, 39},
        {36, 25, 35},
        {36, 26, 40},
        {36, 30, 43},
        {36, 34, 43},
        {36, 36,  6},
        {36, 36, 44},
        {36, 38, 19},
        {36, 39, 39},
        {36, 41, 14},
        {36, 42, 16},
        {36, 43, 28},
        {37,  6, 43},
        {37,  7, 43},
        {37,  9, 33},
        {37, 14, 10},
        {37, 16, 28},
        {37, 22, 12},
        {37, 27, 29},
        {37, 32, 24},
        {37, 33,  7},
        {37, 34, 45},
        {37, 40, 32},
        {37, 41, 43},
        {37, 42, 15},
        {37, 42, 32},
        {37, 43, 13},
        {38,  5, 33},
        {38,  5, 38},
        {38,  6, 35},
        {38,  9, 26},
        {38,  9, 39},
        {38, 12, 27},
        {38, 13, 45},
        {38, 17, 19},
        {38, 20, 31},
        {38, 21, 17},
        {38, 22, 29},
        {38, 26,  9},
        {38, 26, 16},
        {38, 26, 39},
        {38, 27, 22},
        {38, 27, 29},
        {38, 27, 38},
        {38, 29, 22},
        {38, 29, 28},
        {38, 32,  5},
        {38, 32, 29},
        {38, 33, 45},
        {38, 34, 25},
        {38, 34, 38},
        {38, 38, 22},
        {38, 39, 12},
        {38, 40, 16},
        {38, 43, 22},
        {38, 43, 32},
        {39,  5, 40},
        {39,  6,  9},
        {39,  7, 16},
        {39,  8, 12},
        {39, 10, 17},
        {39, 10, 36},
        {39, 11, 16},
        {39, 13,  5},
        {39, 13, 13},
        {39, 16, 43},
        {39, 18, 45},
        {39, 24,  6},
        {39, 25, 38},
        {39, 26, 16},
        {39, 30, 15},
        {39, 31, 41},
        {39, 34,  4},
        {39, 37, 21},
        {39, 37, 28},
        {39, 39,  5},
        {39, 39, 43},
        {39, 40, 28},
        {39, 42, 43},
        {40,  4, 20},
        {40,  5, 16},
        {40,  5, 27},
        {40, 10,  6},
        {40, 10, 19},
        {40, 14,  9},
        {40, 15,  8},
        {40, 15, 34},
        {40, 16, 24},
        {40, 18, 12},
        {40, 18, 26},
        {40, 21, 22},
        {40, 23, 33},
        {40, 24, 30},
        {40, 25, 44},
        {40, 26, 35},
        {40, 27, 13},
        {40, 28, 32},
        {40, 34, 38},
        {40, 36, 41},
        {40, 37, 14},
        {40, 38, 10},
        {40, 40,  7},
        {40, 42, 34},
        {41,  4, 23},
        {41,  6,  9},
        {41,  6, 21},
        {41, 11, 19},
        {41, 16, 43},
        {41, 18, 41},
        {41, 20, 44},
        {41, 21, 21},
        {41, 21, 26},
        {41, 24, 31},
        {41, 29,  8},
        {41, 34, 39},
        {41, 36, 19},
        {41, 38,  7},
        {41, 41, 18},
        {41, 41, 40},
        {41, 41, 44},
        {41, 44, 34},
        {41, 45, 37},
        {42,  4, 11},
        {42,  4, 19},
        {42,  6, 40},
        {42, 10, 21},
        {42, 14, 16},
        {42, 17,  6},
        {42, 17, 26},
        {42, 17, 41},
        {42, 22,  5},
        {42, 25, 36},
        {42, 27, 24},
        {42, 27, 33},
        {42, 30, 37},
        {42, 38, 12},
        {42, 39, 35},
        {42, 44, 36},
        {42, 45, 28},
        {42, 45, 34},
        {43,  4, 32},
        {43,  5, 22},
        {43,  6,  7},
        {43,  7, 31},
        {43,  7, 44},
        {43,  8, 35},
        {43, 11,  5},
        {43, 11, 40},
        {43, 12, 15},
        {43, 13, 14},
        {43, 14, 39},
        {43, 15, 24},
        {43, 17, 27},
        {43, 20, 13},
        {43, 21, 13},
        {43, 24,  8},
        {43, 24, 38},
        {43, 27, 12},
        {43, 30, 41},
        {43, 35, 22},
        {43, 35, 44},
        {43, 37, 16},
        {43, 40, 23},
        {43, 43, 30},
        {44,  6, 26},
        {44,  7, 10},
        {44,  8, 14},
        {44,  8, 15},
        {44,  9, 26},
        {44, 10, 32},
        {44, 11, 18},
        {44, 12, 29},
        {44, 13,  9},
        {44, 13, 23},
        {44, 15, 37},
        {44, 16, 29},
        {44, 17, 18},
        {44, 18, 17},
        {44, 24,  6},
        {44, 24, 31},
        {44, 25,  8},
        {44, 26, 32},
        {44, 27, 39},
        {44, 28, 34},
        {44, 29, 16},
        {44, 29, 41},
        {44, 30,  4},
        {44, 32,  6},
        {44, 32, 11},
        {44, 32, 26},
        {44, 34, 32},
        {44, 35, 44},
        {44, 36, 27},
        {44, 42, 28},
        {44, 42, 36},
        {45,  6, 31},
        {45,  7, 31},
        {45,  8, 11},
        {45, 10, 20},
        {45, 10, 31},
        {45, 13, 18},
        {45, 15, 23},
        {45, 15, 37},
        {45, 15, 40},
        {45, 19, 42},
        {45, 22,  7},
        {45, 23,  6},
        {45, 24, 32},
        {45, 25, 15},
        {45, 27,  4},
        {45, 27, 14},
        {45, 29, 14},
        {45, 32, 34},
        {45, 40,  4},
        {45, 40, 14},
        {45, 40, 30},
        {45, 40, 45},

        };

    } else {

        printf("Unrecognized option: %s, exiting ...\n", argv[1]);
        return -1;

    }

    // Build benchmark
    KernelLauncher launcher = libsmm_acc_process_d;
    char buffer[1000];
    char * kernel_descr[1] = {buffer};

    int n_triplets = libsmm_acc_triplets.size();
    printf("# Time %d blocksizes ...\n", n_triplets);

    int errors = 0;
    libsmm_acc_benchmark_t* handle;

    for (int i=0; i<n_triplets; i++) {
        printf("\n\n");
        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);
        libsmm_acc_benchmark_init(&handle, timing, m, n, k);
        errors += libsmm_acc_benchmark(handle, m, n, k, 1, &launcher, kernel_descr);
        libsmm_acc_benchmark_finalize(handle);
    }

    printf("# Done, found %d errors.\n", errors);
    return errors;
}