From 6032e64797f275fcca2c15cd0e35d3a41fb34b20 Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Wed, 1 Apr 2020 21:00:02 -0500 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Keith Kraus --- python/cudf/cudf/utils/gpu_utils.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python/cudf/cudf/utils/gpu_utils.py b/python/cudf/cudf/utils/gpu_utils.py index 40ae84176bd..90cb65edba9 100644 --- a/python/cudf/cudf/utils/gpu_utils.py +++ b/python/cudf/cudf/utils/gpu_utils.py @@ -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"])