import { a as t } from "../../index-DSGwv2Yx.js";
import { BinaryOpScalarProgram as s, BinaryOpProgram as m } from "./utils/binary_op.js";
import { B as a } from "../../binary_op_util-pKXltfxI.js";
function c(n) {
  const { a: e, b: r } = n.inputs, o = n.backend, p = r.shape.length === 0 ? new s(a.MUL, e.shape) : new m(a.MUL, e.shape, r.shape);
  return o.runWebGPUProgram(p, [e, r], "packedF16");
}
const i = {
  kernelName: "Mul16",
  backendName: "webgpu",
  kernelFunc: c
};
t(i);
