Repository navigation
Fix spurious double-register instantiation in emulated batch_bool - #1454
Open
DiamonDinoia wants to merge 1 commit into
Open
DiamonDinoia wants to merge 1 commit into
DiamonDinoia wants to merge 1 commit into
Conversation
DiamonDinoia
force-pushed
the
fix-emulated-batch-bool
branch
from
November 11, 2026 01:41
aac1dc3 to
3d0d65e
Compare
|
|
||
| template <class A, class T, size_t N, class... Values> | ||
| // no A parameter: callers pass no explicit template argument, so deduction stays constrained | ||
| template <class T, size_t N, class... Values> |
Contributor
There was a problem hiding this comment.
why only for this one and not the one above?
Contributor
Author
There was a problem hiding this comment.
Because I missed it. I will fix shortly.
Contributor
Author
There was a problem hiding this comment.
I only fixed the overload my std::simd repro hit without looking around too much.
…ue ctors The emulated set overloads named a template parameter A that no argument deduces. The explicit kernel::set<A> calls could instantiate an unrelated emulated register type. The overloads drop A, and the callers let deduction pick the overload. Assisted-by: Qwen3.8-27B-FP8
DiamonDinoia
force-pushed
the
fix-emulated-batch-bool
branch
from
December 1, 2026 14:13
3d0d65e to
18eb965
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kind of a wierd edge case but I am working on interpoperability with std-simd to allow for support for other archs that we do not support (optin) and this is the only edge case I hit.
Otherwise we are interoperable.
g++-16 -std=c++17 -O2 -DXSIMD_WITH_EMULATED=1 -I upstream/include repro.cpp