Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
需要知道 Intel Xeon Phi scatter/gather 是否可以实现这个用例
int *ptr[3]; int a , b , c ; ptr[0] = &a; ptr[1] = &b; ptr[2] = &c;
想要使用向量指令和 ptr 在 a、b 和 c 中加 1 需要向量运算不是立即值而是地址处的值,