Skip to content

bulk: check index type contract - #2359

Merged
ericniebler merged 1 commit into
NVIDIA:mainfrom
romintomasetti:bulk-index-contract
Oct 24, 2026
Merged

ericniebler merged 1 commit into
NVIDIA:mainfrom
romintomasetti:bulk-index-contract

Conversation

@romintomasetti

Copy link
Copy Markdown
Contributor

The index type is deduced from the Shape type.

I am not sure whether this can be turned into a pure compile-time test, because of the trailing __well_formed_sender constrain on the generic bulk call operator.

Reference:

The index type is deduced from the Shape type.

https://eel.is/c++draft/exec#bulk-4
Signed-off-by: romintomasetti <romin.tomasetti@gmail.com>
@copy-pr-bot

copy-pr-bot Bot commented Oct 23, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@romintomasetti

Copy link
Copy Markdown
Contributor Author

@ericniebler I have read the whole test file and couldn't see a test that validates this contract that the function is called with an index type whose type is the same as the Shape type.

@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test e5c151c

@romintomasetti

Copy link
Copy Markdown
Contributor Author

@ericniebler Any idea for the CI failures?

@ericniebler

Copy link
Copy Markdown
Collaborator

I am without a clue

@ericniebler
ericniebler merged commit 0735a0b into NVIDIA:main Oct 24, 2026
63 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants