Skip to content

Commit 4e499e8

Browse files
authored
REFACTOR: Organize cuda.core.system._device into multiple pxi files (#1523)
* REFACTOR: Organize cuda.core.system._device into multiple pxi files * Update MANIFEST.in * Remove the aborted mixin experiment
1 parent 27e9066 commit 4e499e8

14 files changed

Lines changed: 1064 additions & 1092 deletions

cuda_core/MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
recursive-include cuda/core *.pyx *.pxd
5+
recursive-include cuda/core *.pyx *.pxd *.pxi
66
recursive-include cuda/core/_cpp *.cpp *.hpp

cuda_core/cuda/core/system/_clock.pxi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

55

6+
ClockId = nvml.ClockId
7+
ClocksEventReasons = nvml.ClocksEventReasons
8+
ClockType = nvml.ClockType
9+
10+
611
cdef class ClockOffsets:
712
"""
813
Contains clock offset information.

cuda_core/cuda/core/system/_cooler.pxi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

55

6+
CoolerControl = nvml.CoolerControl
7+
CoolerTarget = nvml.CoolerTarget
8+
9+
610
cdef class CoolerInfo:
711
cdef object _cooler_info
812

0 commit comments

Comments
 (0)