CPU with multiple cores and GPU

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++.
So is there a way to make a program that will perform 2 operations at the same time?
Threads. Currently C++11 standard have concurrency support (look into <future> and <thread> headers).
Also I would like to know how to access GPU with c++.
You need a library Like CUDA. Google GPU programming to find out more.
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.
Topic archived. No new replies allowed.