Here i the new deviceQuery info:
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
==2681== NVPROF is profiling process 2681, command: ./deviceQuery
Detected 1 CUDA Capable device(s)
Device 0: "GeForce GTX 1060 6GB"
CUDA Driver Version / Runtime Version 8.0 / 8.0
CUDA Capability Major/Minor version number: 6.1
Total amount of global memory: 6069 MBytes (6363873280 bytes)
(10) Multiprocessors, (128) CUDA Cores/MP: 1280 CUDA Cores
GPU Max Clock rate: 1709 MHz (1.71 GHz)
Memory Clock rate: 4004 Mhz
Memory Bus Width: 192-bit
L2 Cache Size: 1572864 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): Yes
Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 8.0, CUDA Runtime Version = 8.0, NumDevs = 1, Device0 = GeForce GTX 1060 6GB
Result = PASS
The RunTime and the Driver seem OK. But I still have errors:
[Vector addition of 50000 elements]
==2896== NVPROF is profiling process 2896, command: ./vectorAdd
==2896== Profiling application: ./vectorAdd
==2896== Profiling result:
No kernels were profiled.
==2896== API calls:
No API activities were profiled.
==2896== Warning: Some profiling data are not recorded. Make sure cudaProfilerStop() or cuProfilerStop() is called before application exit to flush profile data.
======== Error: Application received signal 139
And when I try vectorAdd_nvrtc with cuProfilerStop(), I get that:
./vectorAdd_nvrtc: error while loading shared libraries: libnvrtc.so.8.0: cannot open shared object file: No such file or directory
Then I export the location of the libnvrtc library:
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64
I get that:
nvprof ./vectorAdd_nvrtc
==4579== NVPROF is profiling process 4579, command: ./vectorAdd_nvrtc
> Using CUDA Device [0]: GeForce GTX 1060 6GB
> GPU Device has SM 6.1 compute capability
[Vector addition of 50000 elements]
Copy input data from the host memory to the CUDA device
CUDA kernel launch with 196 blocks of 256 threads
Copy output data from the CUDA device to the host memory
Test PASSED
Done
==4579== Profiling application: ./vectorAdd_nvrtc
======== Error: Unable to import nvprof generated profile data.
And with the link of NVProf in cuda 8.0 get that:
/usr/local/cuda-8.0/bin/nvprof ./vectorAdd_nvrtc
==4669== NVPROF is profiling process 4669, command: ./vectorAdd_nvrtc
> Using CUDA Device [0]: GeForce GTX 1060 6GB
> GPU Device has SM 6.1 compute capability
======== Error: unified memory profiling failed.