blogger visitor

Techucation

A Blog by Malcolm Yoke Hean Low



View Malcolm Low's profile on LinkedIn

Malcolm Low

Create Your Badge

 Subscribe in a reader


Enter your email address:

Delivered by FeedBurner


Archive for April 2009

parallel_invoke() - Running Multiple Functions in Parallel using Intel Thread Building Block

Posted on Monday, April 06, 2009 at 4:46 PM by Malcolm

From this article, running multiple functions together with Intel Thread Building block is as simple as the following:

void Function1();
void Function2();
void Function3();

void RunFunctions() {
tbb::parallel_invoke(Function1, Function2, Function3);
}
Edited on: Monday, April 06, 2009 4:49 PM

Posted in HPC (RSS)