Skip to content

v1.5.0

Latest

Choose a tag to compare

@hughperkins hughperkins released this 02 Dec 12:13
· 14 commits to main since this release
1bbb16c

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

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

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

  • [Interop] Load the core library without RTLD_DEEPBIND by @SonSang in #1134

Optimization

  • [Optimization] Use a per-round use index in WholeKernelCSE to make merge_global_ptrs linear by @Roushelfy in #1013

Matrix

Windows

New Contributors

Full Changelog: v1.4.0...v1.5.0b1