Check hyper threading in create function
Merge branch 'cpu'