Matched the type of num_probes in kernel.hpp