“no cuda-capable device is detected”问题解决方法
来源:互联网 发布:linux 不能识别ttc字体 编辑:程序博客网 时间:2024/06/05 11:36
仅供本人参考!
原因:安装好cuda5.0的centOS6.4系统重启以后,执行原来的cuda代码,提示找不到cuda-device。经过度娘、谷哥,stack overflow一阵查找,大致知道问题出在哪里?但是好像百分百安装别人的提供的方法又不对。于是执行了下列一系列步骤,解决问题。
step1:重新安装Nvidia CUDA Toolkit
sudo sh cuda_5.0.35_linux_64_rhel6.x-1.run
step2:安装成功后,按照提示配置 /etc/ld.so.conf 文件
我的系统是64位于是 vim /etc/ld.so.conf 添加
/usr/local/cuda-5.0/lib64
/usr/local/cuda-5.0/lib
保存修改退出:
执行命令 ldconfig
step3:如果想要多人都能使用cuda编程环境与相应的硬件资源
修改/etc/profile文件
export PATH=/usr/local/cuda-5.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-5.0/lib:/usr/local/cuda-5.0/lib64:$LD_LIBRARY_PATH
重新执行程序,问题解决。
- “no cuda-capable device is detected”问题解决方法
- Nsight VS2012 was not found,no CUDA-capable device is detected,cudaGetDeviceCount returned 30
- Hadoop “No space left on device”问题解决方法
- ios 4.3.5 越狱引导开机出现no device detected
- .[No space left on device]问题解决
- linux No space left on device 问题解决
- no cortex-m sw device found 问题解决
- VIDIOC_STREAMON: No space left on device 问题解决
- there is no soundcard 问题解决
- 【win7+linux双系统】no synaptics touchpad detected and no repeater device 解决办法
- No compatible targets were found,Do you wish to add a new Android Virtual Device?问题解决方法。
- 关于eclipse+struts action找不到问题解决方法 There is no Action mapped for namespace
- The identity used to sign the executable is no longer valid问题解决方法
- Windows Server 2008 R2 remote desktop no audio capture device detected
- 无法定位软件包:cuda问题解决方法
- No bean named 'springSecurityFilterChain' is defined 问题解决
- No bean named 'beanScope' is defined问题解决
- Fedora14安装时 No root device found问题解决
- VMware Workstation unrecoverable error: (vmx)虚拟机挂起后无法启动问题
- 关于c++问题while(cin>>x)怎么用eof结束
- 基于mysql的搜索引擎 Sphinx
- T4模版在代码生成中的应用心得
- android 录音
- “no cuda-capable device is detected”问题解决方法
- 《大话设计模式》部分模式总结(二)
- A. Exams
- 你应该知道的10种软件工具
- 用EXCEL完成GPS坐标转换的简易方法
- 解决 PHP Mysql 和 UTF8的问题
- C#归并排序
- 在C++ 程序中调用被C编译器编译后的函数,为什么要加extern “C”?
- Android客户端与PC服务器实现Socket通信