Reprogram your C code to multi thread, and your unix should be aware of the multi CPU. then, the os will auto assigned your code runing on different CPUs. Or read some parrallel processing material. This is that area as I think.
how? I mean if some functions of C language can control using multi-CPUs? Thanks!
【在 t******q 的大作中提到】 : Reprogram your C code to multi thread, : and your unix should be aware of the multi CPU. : then, the os will auto assigned your code runing : on different CPUs. : Or read some parrallel processing material. : This is that area as I think.
f*t
4 楼
For parallel computer, specific C library for using multi-CPU is always available. You can refer to the manual of the computer. MPI is a standard programming interface for parallel computer.
【在 i*****d 的大作中提到】 : how? I mean if some functions of C language can control : using multi-CPUs? : Thanks!