MCPcopy Create free account
hub / github.com/pydata/numexpr / VEC_ARG0_STRIDED

Function VEC_ARG0_STRIDED

code_generators/interp_generator.py:439–450  ·  view source on GitHub ↗
(expr: str)

Source from the content-addressed store, hash-verified

437# which is significantly slower, so in general it's best if there's a branch
438# inside each function: one for strided and one for aligned data.
439def VEC_ARG0_STRIDED(expr: str) -> str:
440 return '''
441{
442 NE_REGISTER store_in = params->program[pc].ret;
443 BOUNDS_CHECK(store_in);
444
445 char *dest = params->registers[store_in].mem;
446
447 EXPR;
448 return 0;
449}
450'''.replace('EXPR', expr)
451
452def VEC_ARG1_STRIDED(expr: str) -> str:
453 return '''

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…