My understanding is that CPU that have multiple cores do multiple tasks simultaneously. So is there a way to make a program that will perform 2 operations at the same time?
Also I would like to know how to access GPU with c++.
CUDA or OpenCL for GPGPU computing. CUDA is from one vendor only, OpenCL is "open standard".
Threads, OpenMP, MPI. There are several ways to harness the power of multiple cores. They have different emphasis.