https://hgpu.org/?p=8182
CuNeuQuant: A CUDA Implementation of the NeuQuant Image Quantization Algorithm