mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
PPU LLVM: multithread compilation
This commit is contained in:
parent
ef21e2253f
commit
6561ddae41
9 changed files with 285 additions and 190 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue