Posts Tagged ‘C++’
[C++][Qt] Parallel Quick Sort with QtConcurrent (Shared memory generic quick sort)
PS : I developed several quick sort (available on this blog), a sequential version, an openmp tasks version, a openmp not inplace version, an mpi version and a Qt concurent version.
Here I developed a quick sort based on the great qt feature QtConcurrent.
It is mostly similar to the openmp tasks versions.
Click to continue…
[Qt][GPU] C++ Application for dynamic transition images (QtConcurrent, QtOpenCL)
In this post, I will briefly introduce my first test of the qtopencl tool.
[C++][Omp] OpenMP version _OPENMP directive
Sometime you may want to know what version of openmp you are using at compile time.
This is possible using the _OPENMP directive.
[Qt][OpenMP][MPI] mpi/openmp qt creator .pro flag
Add the right options to your .pro to compile with openmp or mpi under Qt creator.
[C++][OpenMP] Custom barrier, a barrier for a group of threads
Openmp give a barrier for all threads.
Here is a class to perform a barrier with only a group of threads.
[C++][OpenMP] A shared memory quick sort openmp tasks (example, source code)
After a first shoot of quick sort on shared memory (to be able to create an mpi version, but that is not inplace)
I created a real shared memory version.
Be aware that these versions need the OpenMP task!
PS : I developed several quick sort (available on this blog), a sequential version, an openmp tasks version, a openmp not inplace version, an mpi version and a Qt concurent version.
[C++] MinMax algorithm with noughts and crosses game (understand min-max heuristic)
Here is an example of min-max algorithm.
Click to continue…
[C++] Greedy algorithm (algorithme glouton) for knapsack problem
Here is an old code for the knapsack problem solved using the greedy algorithm.
Click to continue…
[C++] A tcp/ip server using OpenMP (with Linux socket)
In this post I put the code of a small program I developed a week ago about an OpenMP server for linux socket.
So this server is using a thread pool and tasks. Also I wrote a minimalist client that uses select to have a non blocking IO and read access.
Click to continue…
[C++][MPI] Parallel Quick Sort (multi-procs)
After an OpenMP quick sort implementation, here is the mpi version.
PS : I developed several quick sort (available on this blog), a sequential version, an openmp tasks version, a openmp not inplace version, an mpi version and a Qt concurent version.
