-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Description
While adding too many utilities for batch_constant may not be a goal, I believe an additional utility to generate a batch_constant with increasing numbers from zeros could be an interesting building block for a few cases:
- Lane mask:
arange_batch_constant<T, A>() / make_batch_constant<T, size / 2, A>(); - Even numbers mask:
arange_batch_constant<T, A>() % make_batch_constant<T, 2, A>(); - Already used in tests
Metadata
Metadata
Assignees
Labels
No labels