awu12's picture
SME2 baselines for simd-loop 101 and 128; tag definitions by sme2 kernel kind
144919f verified
Raw History Blame Contribute Delete
759 Bytes
{
"name": "loop_033",
"op_type": "loop_033",
"description": "Compute FP64 inner product of two arrays",
"tags": [
"simd-loop",
"sme2-kernel:streaming-sve"
],
"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 return np.float64(np.dot(a, b))\n",
"simd_loop_meta": {
"output_inplace": false,
"array_pad": 0,
"scratch": []
}
}