A CUDA-based parallel implementation of K-nearest neighbor algorithm
a performance study of general - purpose applications on graphics processors using cuda .