You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Propagate unified DataLayouts API and refine it after review
Updates all modules, the CUDA extension, and the test suite for the new
DataLayout types, 4-D (v, i, j, h) index convention, and loop primitives
introduced by the previous commit, and applies the revisions from review:
- Add Utilities.nested_view, which prevents unbounded nesting of SubArray
and ReshapedArray wrappers from repeated views and reshapes; use it for
slice views and struct field views to avoid type-depth widening and
per-view allocations
- Use Base's pairwise mapreduce over linear positions for reductions, and
re-evaluate impure scalar broadcasts at every point
- Simplify BroadcastStyle combination, getproperty, view via rebuild, and
the Style{Tuple} conversion; restore kwarg-based layout constructors
- Restrict the recursion_relation overrides to Core.kwcall methods, which
keeps nested loop primitives allocation-free and cuts the compilation
time of several unit tests by more than an order of magnitude
- Use fieldoffset for struct field views (prefix-tuple sizeof includes
trailing padding) and branch-free thread-pool sizes for JET cleanliness
- Add unit tests for nested loops, reduction accuracy, masked reductions,
0-dimensional broadcasts, scalar broadcast allocations, and nested_view
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments