OpenMP Examples

Posted on Thu 07 August 2008 in Development • Tagged with C++, OpenMP

Here are some usage examples for the C++ library available in the GNU C++ compiler versions 4.2 and up, and probably others. This first example shows how to use the parallel for construct to iterate over a set of neurons. Each thread here gets an equal share of the ...


Continue reading