Skip to content
Advertisement

Tag: core

Launch program with python on a specific core

there is any way to launch program by its API using python and run it on a specified core? i need to launch a cpu-expensive application about 5 times and run it on different core in order to save time. i’m using windows Answer The process can set its own affinity, here is what I do (you can change the

Advertisement