Sparse array compression using SIMD (AVX2)

后端 未结 3 1169
粉色の甜心
粉色の甜心 2020-12-17 02:19

I have a sparse array a (mostly zeroes):

unsigned char a[1000000]; 

and I would like to create an array b of inde

3条回答
  •  离开以前
    2020-12-17 03:07

    Although AVX2 instruction set has many GATHER instructions, but its performance is too slow. And the most effective way to do this - to process an array manually.

提交回复
热议问题