awu12's picture
Replace pre-PR#15 conv2d-only trace with current simd-loop set (definitions + workloads + reference/autovec solutions)
f25167e verified
Raw
History Blame Contribute Delete
763 Bytes
{
"name": "loop_105",
"op_type": "loop_105",
"description": "Sum adjacent FP value pairs in a cascading pairwise reduction",
"tags": [
"simd-loop"
],
"axes": {
"N": {
"type": "var",
"description": "Array length"
}
},
"inputs": {
"a": {
"shape": [
"N"
],
"dtype": "float32"
},
"b": {
"shape": [
"N"
],
"dtype": "float32"
}
},
"outputs": {
"res": {
"shape": null,
"dtype": "float32",
"description": "Scalar result"
}
},
"reference": "import numpy as np\n\ndef run(a, b):\n return np.float32(np.sum(a.astype(np.float64)))\n",
"simd_loop_meta": {
"output_inplace": false,
"array_pad": 0,
"scratch": []
}
}