awu12's picture
SME2 baselines for simd-loop 101 and 128; tag definitions by sme2 kernel kind
144919f verified
Raw History Blame Contribute Delete
739 Bytes
{
"name": "loop_027",
"op_type": "loop_027",
"description": "Compute element-wise square root of an FP32 array",
"tags": [
"simd-loop",
"sme2-kernel:streaming-sve"
],
"axes": {
"N": {
"type": "var",
"description": "Array length"
}
},
"inputs": {
"input": {
"shape": [
"N"
],
"dtype": "float32"
}
},
"outputs": {
"output": {
"shape": [
"N"
],
"dtype": "float32",
"description": "Output array"
}
},
"reference": "import numpy as np\n\ndef run(input):\n return np.sqrt(input.astype(np.float64)).astype(np.float32)\n",
"simd_loop_meta": {
"output_inplace": false,
"array_pad": 0,
"scratch": []
}
}