Skip to content

Commit

Permalink
add docstring to helper
Browse files Browse the repository at this point in the history
  • Loading branch information
isVoid committed Oct 31, 2024
1 parent bac11f6 commit 300348d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions numba_cuda/numba/cuda/cudadrv/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3442,6 +3442,10 @@ def get_version():


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

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

0 comments on commit 300348d

Please sign in to comment.