A high performance implementation of kmeans algorithm with cuda