knn on shared mem on gpu working