Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Keith Kraus <[email protected]>
  • Loading branch information
galipremsagar and kkraus14 authored Apr 2, 2020
1 parent 012a6de commit 6032e64
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/cudf/cudf/utils/gpu_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ def validate_setup():
else:
device_props = getDeviceProperties(0)
warnings.warn(
"You will need a GPU with NVIDIA Pascal™ architecture or \
better\n"
"Detected GPU 0 : " + str(device_props["name"].decode()) + "\n"
"Detected Compute Capability : "
"You will need a GPU with NVIDIA Pascal™ or newer architecture\n"
"Detected GPU 0: " + str(device_props["name"].decode()) + "\n"
"Detected Compute Capability: "
+ str(device_props["major"])
+ "."
+ str(device_props["minor"])
Expand Down

0 comments on commit 6032e64

Please sign in to comment.