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
27 lines
1.6 KiB
ReStructuredText
27 lines
1.6 KiB
ReStructuredText
.. meta::
|
|
:description: Using HIPSTDPAR with rocThrust
|
|
:keywords: rocThrust, ROCm, HIPSTDPAR, installation
|
|
|
|
*******************************************
|
|
Using HIPSTDPAR
|
|
*******************************************
|
|
|
|
The HIPSTDPAR header files contain overloads of the C++ Standard Library parallel algorithms that offload the parallel algorithms to AMD accelerators and GPUs.
|
|
|
|
.. note::
|
|
|
|
HIPSTDPAR is installed with rocThrust and can only be installed through rocThrust.
|
|
|
|
To use the HIPSTDPAR headers, compile your code with the ``--hipstdpar`` flag. For more information about the effects of compiling with ``--hipstdpar``, see `C++ Standard Parallelism Offload Support: Compiler And Runtime <https://rocm.docs.amd.com/projects/llvm-project/en/latest/LLVM/clang/html/HIPSupport.html#c-standard-parallelism-offload-support-compiler-and-runtime>`_.
|
|
|
|
Both the AMD fork of LLVM and the upstream LLVM support offloading parallel algorithms.
|
|
|
|
Tests for validating HIPSTDPAR implementations are enabled when rocThrust is built with ``BUILD_HIPSTDPAR_TEST=ON``.
|
|
|
|
HIPSTDPAR requires rocThrust, `rocPRIM <https://rocm.docs.amd.com/projects/rocPRIM/en/latest/index.html>`_, and `TBB <https://www.intel.com/content/www/us/en/developer/tools/oneapi/onetbb.html>`_.
|
|
|
|
|
|
.. note::
|
|
|
|
If you're using libstdc++ 9 or libstdc++ 10, your application might fail to compile due to incompatibilities between legacy TBB and oneTBB. See the `oneAPI Threading Building Blocks Release Notes <https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-threading-building-blocks-release-notes.html>`_ for more information.
|