Skip to content

Conversation

@shwina
Copy link
Contributor

@shwina shwina commented Nov 14, 2025

Description

Merge after #6353.

Closes #4573. This PR is shown to resolve issues due to ODR violation, by unmarking a test that was previously marked xfail.

Checklist

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

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Nov 14, 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.

@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Progress in CCCL Nov 14, 2025
@shwina shwina force-pushed the fix-iterator-signatures-void-star branch from 3cef9d0 to aaeb15b Compare November 15, 2025 12:16
@shwina
Copy link
Contributor Author

shwina commented Nov 15, 2025

/ok to test aaeb15b

@github-actions

This comment has been minimized.

@shwina
Copy link
Contributor Author

shwina commented Nov 16, 2025

/ok to test 506b362

@github-actions

This comment has been minimized.

@shwina
Copy link
Contributor Author

shwina commented Nov 17, 2025

/ok to test 4334c15

@github-actions

This comment has been minimized.

Comment on lines 435 to 438
"extern \"C\" __device__ void advance(void* state, const void* offset) {\n"
" auto* typed_state = static_cast<random_access_iterator_state_t*>(state);\n"
" auto offset_val = *static_cast<const unsigned long long*>(offset);\n"
" typed_state->d_input += offset_val;\n"
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: why not use a raw string literal?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can. Changed to using raw strings in ac41501.

@shwina shwina force-pushed the fix-iterator-signatures-void-star branch from 4334c15 to ac41501 Compare November 18, 2025 15:29
@shwina shwina marked this pull request as ready for review November 18, 2025 15:29
@shwina shwina requested review from a team as code owners November 18, 2025 15:29
@shwina shwina requested review from gonidelis and rwgk November 18, 2025 15:29
@cccl-authenticator-app cccl-authenticator-app bot moved this from In Progress to In Review in CCCL Nov 18, 2025
Comment on lines 153 to 163
def get_input_dereference_signature(self):
return (
self.state_ptr_type,
types.CPointer(self.value_type),
)

def get_output_dereference_signature(self):
return (
self.state_ptr_type,
self.value_type,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Important: let us delete these if they are no longer used


# Create transform output iterator
d_out_it = TransformIterator(d_output, sqrt)
d_out_it = TransformOutputIterator(d_output, sqrt)
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: why is this change needed now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No idea, and honestly no idea how this ever worked before...

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

🥳 CI Workflow Results

🟩 Finished in 1h 26m: Pass: 100%/56 | Total: 15h 41m | Max: 1h 22m | Hits: 100%/1240

See results here.

@shwina shwina merged commit 039f22a into NVIDIA:main Nov 20, 2025
69 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Use device functions with void* argument types for iterator advance/dereference methods in c.parallel

3 participants