<reponame>frahlg/npbench
import cupy as np


def kernel(alpha, beta, A, B, x):

    return alpha * A @ x + beta * B @ x

import cupy as np


def kernel(alpha, beta, A, B, x):

    return alpha * A @ x + beta * B @ x