You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fa7cb36
Browse filesBrowse the repository at this point in the historyBrowse files
cuda.core.texture: add versionadded markers and widen enum str annotations
Address review feedback (Ralf):
- Add ``.. versionadded:: 1.1.0`` to the four new texture enums in typing.py
(ArrayFormatType, AddressModeType, FilterModeType, ReadModeType) and to the
texture classes that lacked a class-level marker (ResourceDescriptor,
TextureObject, OpaqueArray, MipmappedArray, SurfaceObject). Remove the
redundant method-level markers now covered at class level.
- Widen the enum-bearing TextureObjectOptions field annotations to include
``str`` (address_mode, filter_mode, read_mode, mipmap_filter_mode), matching
the runtime string coercion this PR adds and existing convention elsewhere in
cuda.core. Note "Plain strings are accepted" on the affected fields.
- Regenerate .pyi stubs.
0 commit comments