PPU LLVM: multithread compilation

This commit is contained in:
Nekotekina 2017-06-24 18:36:49 +03:00
parent ef21e2253f
commit 6561ddae41
9 changed files with 285 additions and 190 deletions

View file

@ -147,13 +147,13 @@ void SPUThread::on_spawn()
auto half_count = core_count / 2;
auto assigned_secondary_core = ((g_num_spu_threads % half_count) * 2) + 1;
set_ideal_processor_core(assigned_secondary_core);
thread_ctrl::set_ideal_processor_core(assigned_secondary_core);
}
}
if (g_cfg.core.lower_spu_priority)
{
set_native_priority(-1);
thread_ctrl::set_native_priority(-1);
}
g_num_spu_threads++;