MCPcopy Create free account
hub / github.com/numpy/numpy / npyv_lut32_u32

Function npyv_lut32_u32

numpy/core/src/common/simd/avx2/memory.h:747–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745NPY_FINLINE npyv_f32 npyv_lut32_f32(const float *table, npyv_u32 idx)
746{ return _mm256_i32gather_ps(table, idx, 4); }
747NPY_FINLINE npyv_u32 npyv_lut32_u32(const npy_uint32 *table, npyv_u32 idx)
748{ return npyv_reinterpret_u32_f32(npyv_lut32_f32((const float*)table, idx)); }
749NPY_FINLINE npyv_s32 npyv_lut32_s32(const npy_int32 *table, npyv_u32 idx)
750{ return npyv_reinterpret_s32_f32(npyv_lut32_f32((const float*)table, idx)); }
751

Callers

nothing calls this directly

Calls 1

npyv_lut32_f32Function · 0.70

Tested by

no test coverage detected