当前位置:网站首页>cuda 探索
cuda 探索
2022-07-06 15:32:00 【Liuqz2009】
cuda命令
查看版本
nvcc -V
查看显卡驱动是否安装成功
nvidia-smi
安装
2022最详细,最新的 Win11/WIN10 安装CUDA11.2和cuDNN(必坑之作)完美教程_Vertira的博客-CSDN博客_cuda11.2安装
安装时勾选 Visual Studio Integration ,在VS中将出现构建cuda项目的选项
Visual Studio Integration (MSBuild) | Microsoft Docs
Nsight Compute 使用_USST_Coder的博客-CSDN博客
安装完后,打开VS,将添加类似 CUDA 11.1 Runtime 这样的选项
VS新建cuda工程_顾惜南衣的博客-CSDN博客_vs创建cuda项目
在已有的Visual Studio工程中加入CU文件_hollyzhiyue的博客-CSDN博客
其主要是把BuildCustomizations中的文件拷贝到VS的相应位置:
<ImportGroup Label="ExtensionSettings">
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 11.1.props" />
</ImportGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 11.1.targets" />
</ImportGroup>
$(VCTargetsPath) 在不同的VS版本中对应不同的位置:
VS2015:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations
VS2017:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\BuildCustomizations
VS2019:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations
卸载
https://www.csdn.net/tags/NtzaIg1sNDgwNDAtYmxvZwO0O0OO0O0O.html
cudnn
cuDNN下载_本尊是喵的博客-CSDN博客_cudnn下载
CUDA 编译
CUDA编译(一)---使用nvcc编译cuda_fb_help的博客-CSDN博客_cuda 编译
CUDA编译(二)---用CMake混合编译C++与cuda_fb_help的博客-CSDN博客_cuda_add_library
边栏推荐
- The difference between enumeration and define macro
- 2022-07-04 the high-performance database engine stonedb of MySQL is compiled and run in centos7.9
- General implementation and encapsulation of go diversified timing tasks
- Web APIs DOM time object
- MySQL教程的天花板,收藏好,慢慢看
- UVa 11732 – strcmp() Anyone?
- NPDP认证|产品经理如何跨职能/跨团队沟通?
- 2014 Alibaba web pre intern project analysis (1)
- Config:invalid signature solution and troubleshooting details
- 0 basic learning C language - interrupt
猜你喜欢
NPDP certification | how do product managers communicate across functions / teams?
Mise en place d'un environnement de développement OP - tee basé sur qemuv8
Web APIs DOM time object
剑指offer刷题记录1
网络基础入门理解
Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries
Leetcode exercise - Sword finger offer 26 Substructure of tree
剪映+json解析将视频中的声音转换成文本
Learn the principle of database kernel from Oracle log parsing
MATLAB小技巧(27)灰色预测
随机推荐
网络基础入门理解
What are the interface tests? What are the general test points?
The SQL response is slow. What are your troubleshooting ideas?
Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
项目复盘模板
SQL Server生成自增序号
poj 1094 Sorting It All Out (拓扑排序)
leetcode:面试题 17.24. 子矩阵最大累加和(待研究)
Heavyweight news | softing fg-200 has obtained China 3C explosion-proof certification to provide safety assurance for customers' on-site testing
剑指offer刷题记录1
void关键字
雅思口语的具体步骤和时间安排是什么样的?
How to use flexible arrays?
(十八)LCD1602实验
Const keyword
Web APIs DOM 时间对象
Data storage (1)
Classification, function and usage of MySQL constraints
Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries
Mysql database basic operations DML