I Flash TX2 with JetPack3.1.After it I tested CUDA example successfully!
And I typed nvcc -V on the terminal.it lists:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Mon_Mar_20_17:07:33_CDT_2017
Cuda compilation tools, release 8.0, V8.0.72
Then I typed: nvidia-smi,the result is:
bash: nvidia-smi: command not found
I typed: sudo apt-get update
sudo apt-get install nvidia-smi
then it list:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-smi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nvidia-smi' has no installation candidate
I do not know where is the problem.
Then I checked the folde /usr/local/cuda-8.0/include there is no cudnn.h
so do I successfully intsall CUDA and CuDNN