Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMD #89

Open
wangwangwar opened this issue Dec 19, 2019 · 0 comments
Open

SIMD #89

wangwangwar opened this issue Dec 19, 2019 · 0 comments

Comments

@wangwangwar
Copy link
Owner

wangwangwar commented Dec 19, 2019

batch eval with SIMD

Step 1: 如果是直接拿到一个数组,都非空,按处理器支持特性选择最合适的SIMD指令。
Step 2: 如果是直接拿到一个数组,中间有空的,需要额外记录空缺的下标,从数组中去掉空,按处理器支持特性选择最合适的指令,计算后再把空填回去。
Step 3: 如果拿到的数组是logical index,需要去physical数组中取数据,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant