Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

async_node simple examples needed

victor_d_1
Beginner
716 Views

I'm interested in async_node functionality. Tried to compile the example in doc using VisualStudio 2015, but get errors that I can't seem to figure out (templates are hard to debug). Could you provide a couple of "as simple as possible, but no simpler" style of examples that illustrate the basic functionality of async_node, and work in VisualStudio?

0 Kudos
4 Replies
Alexei_K_Intel
Employee
716 Views

Hi Victor,

Thank you for the report. The example is really outdated. We will consider a possibility to fix it and support a wide range of compilers.

Regards,
Alex

 

0 Kudos
victor_d_1
Beginner
716 Views

Hi Alex,

Thank you for providing links to these reference project (Nikita provided these for opencl_node). I will try them out.

Would it be possible to make available the Mandelbrot set rendering example/project for async_node by Michael VossVasanth Tovinkere, and Pablo Reble, 

"CPUs, GPUs, FPGAs: Managing the Alphabet Soup with Intel® Threading Building Blocks". TBB webinar

Today’s hardware landscape is increasingly heterogeneous—a collection of specialized CPUs, GPUs and FPGAs that can make or break power and performance efficiency. Intel® Threading Building Blocks (Intel® TBB) helps address this challenge because the library acts as a coordination layer between the hardware (CPU, GPU, FPGA) and software environments. 

and

from http://ppopp17.sigplan.org/event/ppopp-2017-tutorials-cpus-gpus-fpgas-managing-the-alphabet-soup-with-intel-threading-building-blocks ?

-Victor

0 Kudos
Pablo_R_Intel
Employee
716 Views

Hi Victor,

the examples from our PPoPP'17 tutorial are available on GitHub:

https://github.com/01org/tbb/tree/tbb_2017_tutorials/examples/ppopp17

As far as I remember there is no async-node example in this Tutorial.
We use OpenCL node instead to offload computation to a device (GPU), which is the more straight forward approach.
The last example, exercise 5, combines a fractal computation with a stereoscopic filter.
Hope that helps.

-Pablo 

 

 

 

0 Kudos
victor_d_1
Beginner
716 Views

Hi Pablo,

Thank you. I'll take a look at the example you mentioned.

The one I'm after is from the following Intel webinar (CPUs-GPUs-FPGAs Managing the Alphabet Soup with Intel TBB)

https://software.intel.com/en-us/videos/cpus-gpus-fpgas-managing-the-alphabet-soup-with-intel-threading-building-blocks

at time 34:28 Mike Voss discusses a Mandelbrot set rendering using CPU and GPU load balancing using async_node. That's the one I'm after.

Is it available by any chance?

-Victor

0 Kudos
Reply