Skip to content

Commit 300348d

Browse files
committed
add docstring to helper
1 parent bac11f6 commit 300348d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

numba_cuda/numba/cuda/cudadrv/driver.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,6 +3442,10 @@ def get_version():
34423442

34433443

34443444
def inspect_obj_content(objpath: str):
3445+
"""
3446+
Given path to a fatbin or object, use `cuobjdump` to examine its content
3447+
Return the set of entries in the object.
3448+
"""
34453449
code_types :set[str] = set()
34463450

34473451
out = subprocess.run(["cuobjdump", objpath], capture_output=True)

0 commit comments

Comments
 (0)