// File: kernel.cpp
#include "loop_218.h"
#include <stdint.h>

extern "C" void inner_loop_218(struct loop_218_data *data) {
    uint64_t m = data->m;
    uint64_t n = data->n;
    double *a = data->a;
    double *x = data->x;
    double *b = data->b;
    for (uint64_t i = 0; i < m; i++) {
        double d = 0;
        for (uint64_t j = 0; j < n; j++) d += a[(m * j) + i] * x[j];
        b[i] = d;
    }
}