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

extern "C" void inner_loop_112(struct loop_112_data *data) {
    cuint32_t *a = data->a0; cuint32_t *b = data->b0; cuint32_t *c = data->c0;
    uint64_t size = data->size;
    for (uint64_t i = 0; i < size; i++) {
        c[i].re = (a[i].re * b[i].re) - (a[i].im * b[i].im);
        c[i].im = (a[i].re * b[i].im) + (a[i].im * b[i].re);
    }
}