Skip to content

Commit f73c1c8

Browse files
authored
Remove _StridedLayout from cuda.core public API (#1932)
_StridedLayout is a private symbol (underscore-prefixed) that was imported from cuda.core._layout into cuda/core/__init__.py, making it unintentionally available as a public name. All internal usage (in _memoryview.pyx) already imports it directly via cimport from the private module, so the re-export in __init__.py is unnecessary.
1 parent 9cee313 commit f73c1c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cuda_core/cuda/core/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def _import_versioned_module():
3434
from cuda.core._graphics import GraphicsResource
3535
from cuda.core._launch_config import LaunchConfig
3636
from cuda.core._launcher import launch
37-
from cuda.core._layout import _StridedLayout
3837
from cuda.core._linker import Linker, LinkerOptions
3938
from cuda.core._memory import (
4039
Buffer,

0 commit comments

Comments
 (0)