HW knn