CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
30 lines
1.6 KiB
ReStructuredText
30 lines
1.6 KiB
ReStructuredText
|short_name| Get Started Guide provides the information you need to begin working with oneTBB.
|
|
It is helpful for new users of parallel programming and experienced developers that want to improve code performance.
|
|
|
|
It is recommended for you to have a basic knowledge of C++ programming and some experience with parallel programming concepts.
|
|
|
|
|full_name| is a runtime-based parallel programming model for C++ code that uses tasks.
|
|
The template-based runtime library can help you harness the latent performance of multi-core processors.
|
|
|
|
oneTBB enables you to simplify parallel programming by breaking computation into parallel running tasks. Within a single process,
|
|
parallelism is carried out by mapping tasks to threads. Threads are an operating system mechanism that allows the same or different sets of instructions
|
|
to be executed simultaneously. Using threads can make your program work faster and more efficiently.
|
|
|
|
Here you can see one of the possible executions of tasks by threads.
|
|
|
|
.. figure:: /GSG/Images/how-oneTBB-works.png
|
|
:scale: 70%
|
|
:align: center
|
|
|
|
Use oneTBB to write scalable applications that:
|
|
|
|
* Specify logical parallel structure instead of threads.
|
|
* Emphasize data-parallel programming.
|
|
* Take advantage of concurrent collections and parallel algorithms.
|
|
|
|
oneTBB supports nested parallelism and load balancing. It means that you can use the library without worrying about oversubscribing a system, which happens when more tasks are assigned to a system than it can handle efficiently.
|
|
|
|
oneTBB is used in different areas, such as scientific simulations, gaming, data analysis, etc.
|
|
|
|
It is available as a stand-alone product and as part of the |base_tk|.
|