-I want to control the (2-due core) intel processor where I want determine in each core i want to run each part from my programHow I use and Control the multi core intel processor in programming by c++ ?
Check out ';OpenMP.'; Caution: depending on your program and application, synchronization is often complex and you should be very familiar with multi-threading before you start.
Good luck.How I use and Control the multi core intel processor in programming by c++ ?
It depends on what OS you're using, but if it's Linux then you can use CPU affinity to assign a process to a specific core. You can do this from the command line, using taskset, and there are also programming APIs for controlling CPU affinity.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment