Skip to content

Commit bffba33

Browse files
cpcloudclaude
andcommitted
docs(core): add 0.8.0 release notes for Linker.backend change
Document the breaking change from property to classmethod. Also remove unused pytest import from test_linker_backend.py. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent df11b82 commit bffba33

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
.. currentmodule:: cuda.core
5+
6+
``cuda.core`` 0.8.0 Release Notes
7+
=================================
8+
9+
10+
Breaking Changes
11+
----------------
12+
13+
- :meth:`Linker.backend` is now a classmethod instead of an instance property.
14+
Call sites must use ``Linker.backend()`` (with parentheses) instead of
15+
``linker.backend``. This allows querying the linking backend without
16+
constructing a ``Linker`` instance — for example, to choose between PTX and
17+
LTOIR input before linking.

cuda_core/tests/test_linker_backend.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
import inspect
1313

14-
import pytest
15-
1614
import cuda.core._linker as _linker
1715
from cuda.core._linker import Linker
1816

0 commit comments

Comments
 (0)