Category : affinity

Using x64 msvc v19.29 on a AMD Ryzen 9 5900X (12 cores, AMD’s Hyper-Threading-equivalent disabled), a program parallelized using only omp_set_num_threads( 10 ); and #pragma omp parallel for schedule( dynamic, 1 ) seems to bind the one master and nine worker threads to different cores. Observing the Windows Task-Manager, 10 cores are 100 % utilised ..

Read more