Skip to content

Conversation

@miscco
Copy link
Contributor

@miscco miscco commented Jan 23, 2026

We load into a C-array of InputT, which requires initialization of its elements.

Fixes [BUG]: cub/agent/agent_find.cuh, line 106: error: no default constructor exists Fixes #7336

We load into a C-array of InputT, which requires initialization of its elements.

Fixes [BUG]: cub/agent/agent_find.cuh, line 106: error: no default constructor exists
Fixes NVIDIA#7336
@miscco miscco requested a review from a team as a code owner January 23, 2026 19:35
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 23, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 23, 2026
@miscco miscco requested a review from gonidelis January 23, 2026 19:36
@github-actions
Copy link
Contributor

😬 CI Workflow Results

🟥 Finished in 6h 00m: Pass: 94%/88 | Total: 4d 15h | Max: 6h 00m | Hits: 50%/88419

See results here.

(vector_load_length > 1) && (items_per_thread % vector_load_length == 0)
&& (::cuda::std::contiguous_iterator<InputIteratorT>) && THRUST_NS_QUALIFIER::is_trivially_relocatable_v<InputT>;
&& (::cuda::std::contiguous_iterator<InputIteratorT>) && THRUST_NS_QUALIFIER::is_trivially_relocatable_v<InputT> //
&& ::cuda::std::is_default_constructible_v<InputT>; // We load into an C-array, which requires initialization
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: shouldn't we require trivial default constructability?

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

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

[BUG]: cub/agent/agent_find.cuh, line 106: error: no default constructor exists

3 participants