| { | |
| "name": "loop_128", | |
| "op_type": "loop_128", | |
| "description": "Shift array elements in place where source and destination ranges may overlap", | |
| "tags": [ | |
| "simd-loop" | |
| ], | |
| "axes": { | |
| "N": { | |
| "type": "var", | |
| "description": "Array length" | |
| } | |
| }, | |
| "inputs": { | |
| "a": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "int32" | |
| }, | |
| "b": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "int32" | |
| } | |
| }, | |
| "outputs": { | |
| "c": { | |
| "shape": [ | |
| "N" | |
| ], | |
| "dtype": "uint32", | |
| "description": "Output array" | |
| } | |
| }, | |
| "reference": "import numpy as np\n\ndef run(a, b):\n return a + b\n", | |
| "simd_loop_meta": { | |
| "output_inplace": false, | |
| "array_pad": 0, | |
| "scratch": [] | |
| } | |
| } | |