Repository navigation
Release v1.5.0
New features:
- graph kernels accept ndarrays with gradients (thank you to @arcusbuilds)
Improvements:
- faster compilation of large kernels through CSE optimization (thank you to @Roushelfy)
Backwards incompatible changes:
- dataclasses inside data oriented, passed to kernel, now bind scalars at runtime rather than compile time, consistent with dataclasses, consistent with dataclasses passed directly
- a kernel parameter cannot be both a data oriented and a dataclass now
- default fp or ip can no longer be modified between qd.init
- add_value_to_cache_key removed (use Final instead)
- Final parameters can only be bool, int, float, str, or enum members. numpy scalars and custom subclasses are rejedcted
What's Changed
CI
- [CI] Prefix CI artifact commit statuses with _Artifact: by @hughperkins in #1068
- [CI] Remove duplicate coverage report check by @hughperkins in #1071
- [CI] Group change reports and include docs, shell, and YAML by @hughperkins in #1069
- [CI] Audit LLVM isolation in Linux wheels by @hughperkins in #1136
- [CI] Allow comment deletions when the information is already available by @hughperkins in #1139
- [CI] Pass the required project to the Genesis alarm workflow by @hughperkins in #1142
- [CI] Compare Genesis benchmarks against Quadrants main by @hughperkins in #1140
- [CI] Bootstrap Genesis benchmarks with the latest successful main wheel by @hughperkins in #1153
Lang
- [Lang] Reduce class-detection overhead while preserving reload and loader support by @duburcqa in #804
- [Lang] Clear kernel specialization and launch caches on reset by @hughperkins in #1158
- [Lang] Reject numeric default changes after initialization by @hughperkins in #1160
Graph
- [Graph] Allow graph kernels to take ndarrays that own a gradient by @arcusbuilds in #953
Refactor
- [Refactor] Clarify formatted source-context helper name by @hughperkins in #1077
- [Refactor] Share dotted AST name extraction by @hughperkins in #1087
- [Refactor] Clarify kernel and function compilation context names by @hughperkins in #1116
- [Refactor] Separate scalar discovery from compiler bindings by @hughperkins in #1115
- [Refactor] Clarify argument paths and reuse flat-name construction by @hughperkins in #1103
- [Refactor] Separate kernel compilation state from per-pass state by @hughperkins in #1125
- [Refactor] Resolve dataclass members through identity-based bindings by @hughperkins in #1120
- [Refector] Rename specialization keys to specialization signatures by @hughperkins in #1144
- [Refactor] Rename specialization_signature and features identifiers to spec_sig by @hughperkins in #1157
- [Refactor] Rename TemplateMapper to KernelSpecializationMapper by @hughperkins in #1156
- [Refactor] Group per-launch kernel state in current_launch by @hughperkins in #1161
- [Refactor] Use explicit names for CPU JIT session state by @hughperkins in #1172
- [Refactor] Refactor Final support into focused modules by @hughperkins in #1089
Typing
- [Typing] Restrict dataclass Final fields to Python scalars and enums by @hughperkins in #1094
Doc
- [Doc] Simplify Final helper comments and docstrings by @hughperkins in #1090
- [Doc] Shorten compiler context comments by @hughperkins in #1105
- [Doc] Make whole-kernel CSE comments concise by @hughperkins in #1137
- [Doc] Document PR title format and expand available tags by @hughperkins in #1152
- [Doc] Exclude validation details from PR descriptions by @hughperkins in #1154
- [Doc] Require explicit imperative method names by @hughperkins in #1155
- [Doc] Simplify pull request description template by @hughperkins in #1150
- [Doc] Request API compatibility details in PR descriptions by @hughperkins in #1151
- [IDoc] Refine PR tags and method naming guidance by @hughperkins in #1159
AMDGPU
- [AMDGPU] Consolidate integer shuffle implementation by @hughperkins in #1108
- [AMDGPU] Extract shuffle module preparation from LLVM context by @hughperkins in #1110
- [AMDGPU] Select explicit full-wave and two-half shuffle implementations by @hughperkins in #1109
- [AMDGPU] Treat gfx12 ds_bpermute as wave64-wide in the cross-half shuffle by @ZJLi2013 in #769
Dataclass
- [Dataclass] Data-oriented inside dataclass; and dual data-oriented/dataclass now rejected. by @hughperkins in #1104
- [Dataclass] Bind nested scalars at runtime while preserving aliases by @hughperkins in #1114
- [Dataclass] Remove add_value_to_cache_key dataclass metadata option by @hughperkins in #1145
Interop
Optimization
- [Optimization] Use a per-round use index in WholeKernelCSE to make merge_global_ptrs linear by @Roushelfy in #1013
Matrix
- [Matrix] Replace matrix file-wide type ignore with targeted checks by @hughperkins in #1149
- [Matrix] Expose Matrix and Vector element dtype by @hughperkins in #1148
Windows
- [Windows] Fix fragmented CPU JIT allocations with JITLink by @hughperkins in #1170
New Contributors
- @SonSang made their first contribution in #1134
- @Roushelfy made their first contribution in #1013
Full Changelog: v1.4.0...v1.5.0b1