From c69cddd8ec9988b24f7b73b013155bafc843328c Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Thu, 23 Apr 2026 22:38:36 -0700 Subject: [PATCH 1/2] fix memory leak in rawkernelarg the __dealloc__ method was missing trailing underscores, so would not be recognized as the deallocator by Cython --- dpctl/_sycl_queue.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpctl/_sycl_queue.pyx b/dpctl/_sycl_queue.pyx index 06f1017f73..32105f15e8 100644 --- a/dpctl/_sycl_queue.pyx +++ b/dpctl/_sycl_queue.pyx @@ -1756,7 +1756,7 @@ cdef class WorkGroupMemory: cdef class _RawKernelArg: - def __dealloc(self): + def __dealloc__(self): if(self._arg_ref): DPCTLRawKernelArg_Delete(self._arg_ref) From 6557e873aa7f201ba0970100337224a5cf96035c Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Fri, 24 Apr 2026 10:35:47 -0700 Subject: [PATCH 2/2] add 0.22.1 changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3074c7e066..33c89b4758 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.22.1] - Apr. 24, 2026 + +This is a bug-fix release which fixes a memory leak in `dpctl.RawKernelArg` [gh-2294](https://github.com/IntelPython/dpctl/pull/2294). + ## [0.22.0] - Apr. 14, 2026 The highlight of this release is the full migration of `dpctl.tensor` submodule to sister project [`dpnp`](https://github.com/IntelPython/dpnp), shrinking the size of the package tremendously, by between 93% and 96%. The `__sycl_usm_array_interface__` is still supported, with `dpctl` serving as curator of the protocol.