#13: Add explicit multi-threading support

1 view
Skip to first unread message

Cafu Trac

unread,
Feb 23, 2010, 12:13:03 PM2/23/10
to cafu...@googlegroups.com
#13: Add explicit multi-threading support
--------------------------------------------------------------+-------------
Reporter: Carsten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: asap
Component: other | Version: svn-head
Keywords: multi-threading, multi-core, threading, pthreads | Platform:
--------------------------------------------------------------+-------------
Multi-core CPUs are mainstream today, so we should add true multi-
threading support to the programs that will benefit from parallelization,
such as CaPVS and CaLight.

--
Ticket URL: <http://trac.cafu.de/ticket/13>
Cafu Engine <http://www.cafu.de>
The open-source Game and Graphics Engine for multiplayer, cross-platform, real-time 3D Action.

Cafu Trac

unread,
Oct 10, 2013, 5:05:16 AM10/10/13
to cafu...@googlegroups.com
#13: Add explicit multi-threading support
-------------------------+-------------------------------------------------
Reporter: Carsten | Owner:
Type: | Status: new
enhancement | Milestone: asap
Priority: normal | Version: svn-head
Component: other | Keywords: multi-threading, multi-core,
Resolution: | threading, pthreads
Platform: |
-------------------------+-------------------------------------------------

Comment (by Carsten):

For completeness, this is the relevant section from http://www.cafu.de
/project-ideas:

= Multi-Threading and Parallelization =

Most code in Cafu doesn't make use of multi-threading and parallelization
yet, even though there are several opportunities where serial algorithms
can be turned into parallel counterparts for good effect. The goal of this
project is to identify algorithms that are suitable for parallelization
and to parallelize them by using a portable technique.

Candidates for parallelization include the Radiosity computations
(CaLight), the binary space partitioning and potential visibility set
programs (CaBSP and CaPVS), the Cafu Engine itself, and the level editor
CaWE (e.g. real-time terrain editing). The task also includes basic
performance profiling: it should be possible to run the parallel programs
with a custom number of threads and basic statistic should be gathered.
The implementation should be portable, e.g. using PThread, OpenCL or Intel
TBB, but we're happy to discuss vendor-specific approaches as well.

''Skills needed:'' This project requires an understanding of the
algorithms to be parallelized (e.g. the Radiosity implementation in
CaLight), and a good understanding of the basics (and pitfalls) of multi-
threaded programming. A interesting challenge for advanced students.

--
Ticket URL: <http://trac.cafu.de/ticket/13#comment:1>
Cafu 3D Game and Graphics Engine <http://www.cafu.de>
The open-source game engine and graphics engine for multiplayer, cross-platform, real-time 3D action.

Cafu Trac

unread,
Oct 10, 2013, 5:13:44 AM10/10/13
to cafu...@googlegroups.com
#13: Add explicit multi-threading support
-------------------------+-------------------------------------------------
Reporter: Carsten | Owner:
Type: | Status: new
enhancement | Milestone: asap
Priority: normal | Version: svn-head
Component: other | Keywords: multi-threading, multi-core,
Resolution: | threading, pthreads
Platform: |
-------------------------+-------------------------------------------------

Comment (by Carsten):

Other candidates are CUDA and OpenML. Some links:

- http://www.heise.de/developer/meldung/GCC-unterstuetzt-
OpenMP-4-0-1975716.html
- http://www.heise.de/developer/artikel/Die-wichtigsten-Neuerungen-von-
OpenMP-4-0-1915844.html

--
Ticket URL: <http://trac.cafu.de/ticket/13#comment:2>
Cafu 3D Game and Graphics Engine <http://www.cafu.de>
The open-source game engine and graphics engine for multiplayer, cross-platform, real-time 3D action.

Cafu Trac

unread,
Dec 7, 2014, 8:12:04 AM12/7/14
to cafu...@googlegroups.com
#13: Add explicit multi-threading support
-------------------------+-------------------------------------------------
Reporter: Carsten | Owner:
Type: | Status: new
enhancement | Milestone: asap
Priority: normal | Version: svn-head
Component: other | Keywords: multi-threading, multi-core,
Resolution: | threading, pthreads
Platform: |
-------------------------+-------------------------------------------------

Comment (by Carsten):

c't 26/2014 has a good article about OpenCL:
- http://www.heise.de/ct/ausgabe/2014-26-GPU-Programmierung-mit-
OpenCL-2463807.html

--
Ticket URL: <http://trac.cafu.de/ticket/13#comment:3>
Cafu 3D Game and Graphics Engine <http://www.cafu.de>
The open-source game engine and graphics engine for multiplayer, cross-platform, real-time 3D action.
Reply all
Reply to author
Forward
0 new messages