Added num_hw_threads on master branch