LIHPC-Computational-Geometry / coupe

the concurrent partitioner
https://LIHPC-Computational-Geometry.github.io/coupe/
Apache License 2.0
12 stars 3 forks source link

hilbert: support architectures other than x86_64 #260

Open hhirtz opened 1 year ago

hhirtz commented 1 year ago

Currently hilbert curves use pdep instructions specific to amd64 architectures, we need some fallback for others.

hhirtz commented 1 year ago

Found this webpage that has some tricks to bypass pdep:

https://graphics.stanford.edu/~seander/bithacks.html#InterleaveTableObvious