我在Ubuntu14.04上安装了CUDA 5.5软件包(这个版本不支持Ubuntu版本),而且我做得不太好。
我想删除我之前安装的东西,安装一个新的CUDA 6.5工具包,
在终端中输入以下内容后:dpkg -l | grep -i nvidia,
我得到以下输出:
ii bbswitch-dkms 0.8-1~trustyppa1 all Interface for toggling the power on NVIDIA
我已经安装了图形处理器tensorflow作为。相对环境为:
Ubuntu 14 + cuda8.0 + cudnn5.0 + GeForce Gt 640 (OEM)
问题是:
E tensorflow/stream_executor/cuda/cuda_driver.cc:491] failed call to cuInit: CUDA_ERROR_NO_DEVICE
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:153] retrieving CUDA diagnostic information for host: wang
在试图更新我的系统时,一个包libxnvctrl0似乎已经过时了,尽管我以前做过sudo apt update:
user@user-workstation:~$ sudo apt list --upgradable
En train de lister... Fait
libxnvctrl0/inconnu 450.36.06-0ubuntu1 amd64 [pouvant être mis à jour depuis : 450.36.06-0ubuntu1]
N: Il y a des versions supplémentaires 15. Veuillez utiliser l
我已经在ubuntu .to上安装了matlab,gcc和CUDA工具包,使用mexcuda。
但是当我编译时,我得到了以下错误,并且我在任何地方都找不到任何关于它们的引用。
Error using mex
/tmp/mex_42185702054896_15548/testmem04.o: In function `mexFunction':
tmpxft_00003e3a_00000000-5_testmem04.compute_70.cudafe1.cpp:(.text+0x152): undefined reference
to `__cudaPushCallConfigura
开始在Ubuntu上开发基于CUDA的工具,并尝试安装/使用SDK。然而,deviceQuery给出了
CUDA driver version is insufficient for CUDA runtime version
供参考:
# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2011 NVIDIA Corporation
Built on Tue_Oct_18_17:35:10_PDT_2011
Cuda compilation tools, release 4.1, V0.2.1221
我已经安装了带有CUDA和CuDNN的TensorFlow。
为什么我运行一个会话,我有以下错误:
sess = tf.Session()
E tensorflow/stream_executor/cuda/cuda_driver.cc:491]调用cuInit失败: CUDA_ERROR_INVALID_VALUE
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:153]正在检索主机的CUDA诊断信息: next-gpu1 1
I tensorflow/stream_executor/cuda/cuda_diagnostics.c