Skip to content

Commit 4350787

Browse files
committed
Remove more cimports
1 parent 29f5f07 commit 4350787

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

cuda_core/cuda/core/system/device.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ from typing import Iterable
1111
from cuda.bindings import _nvml as nvml
1212

1313
from ._nvml_context import validate
14-
from .utils cimport unpack_bitmask
14+
from .utils import unpack_bitmask
1515

1616

1717
class DeviceArchitecture:

cuda_core/cuda/core/system/utils.pxd

Lines changed: 0 additions & 9 deletions
This file was deleted.

cuda_core/cuda/core/system/utils.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from cpython cimport array
66
from libc.stdint cimport uint64_t
77

88

9-
cpdef list[int] unpack_bitmask(x: list[int] | array.array):
9+
cdef list[int] unpack_bitmask(x: list[int] | array.array):
1010
"""
1111
Unpack a list of integers containing bitmasks.
1212

0 commit comments

Comments
 (0)