Skip to content

[llvm-test-suite] add --rocprim option to enable rocPRIM tests#2254

Open
jplehr wants to merge 1 commit into
ROCm:aomp-devfrom
jplehr:feat/enable-lib-tests-in-llvm-test-suite-002
Open

[llvm-test-suite] add --rocprim option to enable rocPRIM tests#2254
jplehr wants to merge 1 commit into
ROCm:aomp-devfrom
jplehr:feat/enable-lib-tests-in-llvm-test-suite-002

Conversation

@jplehr

@jplehr jplehr commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This uses the newly introduced long-options format to add --rocprim and enable the rocPRIM testing through LLVM test suite.

Introduce a data-driven library-component table mapping a long option to its CMake enable variable. The long options are registered with getopt from this table, so it is the single source of truth. --rocprim sets EXTERNAL_HIP_TESTS_ROCPRIM=ON at configure and adds the build-rocprim/ test-rocprim targets to the build and test phases. Options are additive and combine with the short flags. Further components can be added with a single table entry.

Introduce a data-driven library-component table mapping a long option to
its CMake enable variable. The long options are registered with getopt from
this table, so it is the single source of truth. --rocprim sets
EXTERNAL_HIP_TESTS_ROCPRIM=ON at configure and adds the build-rocprim/
test-rocprim targets to the build and test phases. Options are additive and
combine with the short flags. Further components can be added with a single
table entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant