Skip to content

Conversation

@bdice
Copy link
Contributor

@bdice bdice commented Oct 27, 2025

This is a test PR to demonstrate an issue in building with the CCCL main branch.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 27, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@bdice
Copy link
Contributor Author

bdice commented Oct 27, 2025

/ok to test

@bdice bdice added the DO NOT MERGE Hold off on merging; see PR for details label Oct 27, 2025
@bdice
Copy link
Contributor Author

bdice commented Oct 28, 2025

/ok to test

@bdice
Copy link
Contributor Author

bdice commented Oct 28, 2025

@miscco It seems like some issues are resolved but there are still build problems. I'm not sure if this is RMM or CCCL changes at fault. I will try to investigate further when I get a chance (dealing with other build breakage right now).

@bdice bdice force-pushed the cccl-testing branch 2 times, most recently from 050919f to 689d14c Compare November 18, 2025 14:17
@bdice
Copy link
Contributor Author

bdice commented Dec 18, 2025

/ok to test

@bdice
Copy link
Contributor Author

bdice commented Dec 18, 2025

/ok to test

2 similar comments
@bdice
Copy link
Contributor Author

bdice commented Dec 18, 2025

/ok to test

@bdice
Copy link
Contributor Author

bdice commented Dec 18, 2025

/ok to test

@bdice
Copy link
Contributor Author

bdice commented Dec 18, 2025

/ok to test

Inside a class template like cccl_resource_ref<ResourceType>, the bare
name cccl_resource_ref refers to the injected class name (the current
instantiation), not the class template. The is_specialization_of_v trait
requires a class template as its second argument, causing a type/value
mismatch error.

Use fully qualified names (::rmm::detail::cccl_resource_ref and
::rmm::detail::cccl_async_resource_ref) to bypass the injected class
name and correctly refer to the class template.
Replace std::optional with cuda::std::optional from libcu++ in
cccl_resource_ref and cccl_async_resource_ref. The standard library
std::optional lacks CUDA annotations and cannot be used in __device__
or __host__ __device__ contexts, causing warnings when thrust_allocator
(which has __host__ __device__ constructors) copies its resource ref
member.
@bdice
Copy link
Contributor Author

bdice commented Dec 18, 2025

/ok to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO NOT MERGE Hold off on merging; see PR for details

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants