ArtificialRay
local snapshot before syncing with HF
7502e01
Raw
History Blame Contribute Delete
876 Bytes
{
"name": "loop_032",
"op_type": "loop_032",
"description": "Solve a step of a banded linear system with non-unit-strided coefficient access",
"tags": [
"simd-loop"
],
"axes": {
"N": {
"type": "var",
"description": "Array length"
}
},
"inputs": {
"a": {
"shape": [
"N"
],
"dtype": "float64"
},
"b": {
"shape": [
"N"
],
"dtype": "float64"
}
},
"outputs": {
"res": {
"shape": null,
"dtype": "float64",
"description": "Scalar result"
}
},
"reference": "import numpy as np\n\ndef run(a, b):\n lw = 0\n res = np.float64(0.0)\n for j in range(4, len(b), 5):\n res -= a[lw] * b[j]\n lw += 1\n return np.float64(res)\n",
"simd_loop_meta": {
"output_inplace": false,
"array_pad": 0,
"scratch": []
}
}