https://123dok.net/document/zx5om4nd-massively-parallel-knn-using-cuda-on-spam-classification.html