Skip to content

Commit 85dbbb5

Browse files
committed
Complete Cythonization of _program.py
- Reorganize file structure per developer guide (principal class first) - Add module docstring, __all__, type alias section - Factor long methods into cdef inline helpers - Add proper exception specs to cdef functions - Fix docstrings (use :class: refs, public paths) - Add type annotations to public methods - Inline _nvvm_exception_manager (single use) - Remove Union import, use | syntax - Add public Program.driver_can_load_nvrtc_ptx_output() API - Update tests to use new public API Closes #1082
1 parent 2f47e9e commit 85dbbb5

File tree

3 files changed

+544
-499
lines changed

3 files changed

+544
-499
lines changed

cuda_core/cuda/core/_program.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ cdef class Program:
77
cdef:
88
object _mnff
99
str _backend
10-
object _linker # Linker (not yet Cythonized)
10+
object _linker # Linker
1111
object _options # ProgramOptions
1212
object __weakref__

0 commit comments

Comments
 (0)