Skip to content

Commit

Permalink
Update compiler.py
Browse files Browse the repository at this point in the history
use bytes as mimic stdout
  • Loading branch information
zzjjbb authored and inducer committed Nov 5, 2024
1 parent 31e5176 commit 247be65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycuda/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_nvcc_version(nvcc):
from warnings import warn

warn("NVCC version could not be determined.")
stdout = "nvcc unknown version"
stdout = b"nvcc unknown version"

return stdout.decode("utf-8", "replace")

Expand Down

0 comments on commit 247be65

Please sign in to comment.