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

Ensure the targets that Thrust creates are global. #1182

Merged

Conversation

robertmaynard
Copy link
Contributor

Description

When using CCCL via add_subdirectory the CCCL::Thrust target isn't visible to consumers. This is due to the fact that it is non-global and therefore scoped to the CCCL source directory.

Extend thrust_create_target to have the GLOBAL option to allow CCCL to ensure the CCCL::Thrust target
is visible to consumers.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

When using CCCL via `add_subdirectory` the CCCL::Thrust target isn't visible to consumers.
This is due to the fact that it is non-global and therefore scoped to the
CCCL source directory.

All other `CCCL::` targets are global so this brings everything inline
@jrhemstad jrhemstad merged commit 7654911 into NVIDIA:main Dec 8, 2023
518 checks passed
@robertmaynard robertmaynard deleted the bug/ensure_thrust_target_is_global branch December 8, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants