Skip to content

Commit 11d1d27

Browse files
rparolinclaude
andcommitted
cuda.core: re-sort example imports after OpaqueArray rename (pre-commit)
ruff I001 (isort): OpaqueArray sorts after FilterMode where CUDAArray used to sit, so the `from cuda.core.texture import (...)` blocks in gl_interop_fluid.py and texture_sample.py needed reordering. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent bd8b73f commit 11d1d27

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cuda_core/examples/gl_interop_fluid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@
110110
from cuda.core.texture import (
111111
AddressMode,
112112
ArrayFormat,
113-
OpaqueArray,
114113
FilterMode,
114+
OpaqueArray,
115115
ReadMode,
116116
ResourceDescriptor,
117117
SurfaceObject,

cuda_core/examples/texture_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
from cuda.core.texture import (
3333
AddressMode,
3434
ArrayFormat,
35-
OpaqueArray,
3635
FilterMode,
36+
OpaqueArray,
3737
ReadMode,
3838
ResourceDescriptor,
3939
TextureDescriptor,

0 commit comments

Comments
 (0)