Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
isVoid committed Nov 4, 2024
1 parent 224eef4 commit ce434e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions numba_cuda/numba/cuda/cudadrv/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3450,13 +3450,13 @@ def inspect_obj_content(objpath: str):

try:
out = subprocess.run(["cuobjdump", objpath], check=True,
capture_output=True)
capture_output=True)
except FileNotFoundError as e:
msg = ("cuobjdump has not been found. You may need "
"to install the CUDA toolkit and ensure that "
"it is available on your PATH.\n")
"to install the CUDA toolkit and ensure that "
"it is available on your PATH.\n")
raise RuntimeError(msg) from e

objtable = out.stdout.decode('utf-8')
entry_pattern = r"Fatbin (.*) code"
for line in objtable.split("\n"):
Expand Down

0 comments on commit ce434e5

Please sign in to comment.