Accelerate k Nearest Neighbor on one GPU using CUDA