Skip to content

Commit 47ad63e

Browse files
committed
clean up
1 parent 30dfcdc commit 47ad63e

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

‎cuda_core/cuda/core/_program.py‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -868,12 +868,6 @@ def from_handle(handle: int, backend: str, options: ProgramOptions = None) -> Pr
868868
Uses a nvrtcProgram or NVVM program handle represented as a Python int
869869
to create a new :obj:`Program` object.
870870
871-
Note
872-
----
873-
Program lifetime is not managed, foreign object must remain
874-
alive while this program is active. The handle should not be
875-
destroyed externally while this Program object is in use.
876-
877871
Parameters
878872
----------
879873
handle : int
@@ -887,17 +881,6 @@ def from_handle(handle: int, backend: str, options: ProgramOptions = None) -> Pr
887881
options : :obj:`ProgramOptions`, optional
888882
Program options that may be used for subsequent operations.
889883
If not provided, default options will be created.
890-
891-
Returns
892-
-------
893-
:obj:`Program`
894-
Newly created program object.
895-
896-
Raises
897-
------
898-
ValueError
899-
If an unsupported backend is specified.
900-
901884
"""
902885
backend = backend.upper()
903886
if backend not in ("NVRTC", "NVVM"):

0 commit comments

Comments
 (0)