Add code to find number of hw concurrent threads.