Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Jan 17, 2024
1 parent 92c6bb1 commit 7dbf9f2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions python/cudf/cudf/utils/_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,13 @@ def _setup_numba():
version of the CUDA Toolkit used to build the PTX files shipped
with the user cuDF package.
"""
# ptxcompiler is a requirement for cuda 11.x packages but not
# cuda 12.x packages. However its version checking machinery
# is still necessary. If a user happens to have ptxcompiler
# in a cuda 12 environment, it's use for the purposes of
# checking the driver and runtime versions is harmless
# ptxcompiler needed for MVC for CUDA 11.x packages but not
# CUDA 12.x packages. However its version checking machinery
# is still necessary. In a CUDA 12.x environment, ptxcompiler
# provides version checking, but not MVC directly, which is
# provided by pynvjitlink instead. The presence of either package
# does not perturb cuDF's operation in situations where they
# are not necessary.
try:
from ptxcompiler.patch import NO_DRIVER, safe_get_versions
except ModuleNotFoundError:
Expand Down

0 comments on commit 7dbf9f2

Please sign in to comment.