Nvprof on GTX 1660

Hello!

I can’t use nvprofwith GTX 1660. When I launch it i got this:

nvprof ./playground > out.ppm
======== Warning: This version of nvprof doesn't support the underlying device, GPU profiling skipped
======== Warning: No profile data collected.

nvidia-smi output:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21       Driver Version: 435.21       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1660    Off  | 00000000:01:00.0  On |                  N/A |
|  0%   49C    P8     4W / 120W |    549MiB /  5941MiB |      3%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1083      G   /usr/lib/xorg/Xorg                           205MiB |
|    0      1403      G   /usr/bin/gnome-shell                         109MiB |
|    0      2298      G   ...quest-channel-token=9259214723112120956    33MiB |
|    0      2887      G   ...AAAAAAAAAAAAAAgAAAAAAAAA --shared-files   112MiB |
|    0     14289      G   ...uest-channel-token=18172067737625085165    86MiB |
+-----------------------------------------------------------------------------+

Hi,

nvprof from the CUDA 10.1 must support the GPU GTX 1660. Do you have multiple CUDA toolkits installed in the system? Can you please report the nvprof version?
$nvprof -V

Heya, thanks for answer! The cuda version that I have installed is 10.0, not 10.1.

nvprof: NVIDIA (R) Cuda command line profiler
Copyright (c) 2012 - 2018 NVIDIA Corporation
Release version 10.0.130 (21)
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130

Hi,

CUDA toolkit 10.0 doesn’t support GTX 1660. Please upgrade to CUDA 10.1 or a later toolkit. Thanks!

After installing CUDA 10.1 it was fixed. Thanks!