Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide CMake target for accelerator support #571

Open
devreal opened this issue Sep 1, 2023 · 1 comment
Open

Provide CMake target for accelerator support #571

devreal opened this issue Sep 1, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@devreal
Copy link
Contributor

devreal commented Sep 1, 2023

Description

Software depending on PaRSEC may want to check whether the correct accelerator component has been enabled.

Describe the solution you'd like

PaRSEC could provide PaRSEC::cuda and PaRSEC::hip respectively so that dependents like TTG can check for it.

@devreal devreal added the enhancement New feature or request label Sep 1, 2023
@therault
Copy link
Contributor

therault commented Sep 1, 2023

I think the 'proper' CMake way to do that is to expose CUDA, HIP, and other features as COMPONENTS for the PaRSEC package, and the user should use

find_package(PaRSEC COMPONENTS HIP CUDA REQUIRED)

I'm not sure what it means to have a PaRSEC::cuda target, because this target would just be an alias to PaRSEC::parsec?

@abouteiller abouteiller added this to the v5.0 milestone Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants