当前位置:网站首页>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
边栏推荐
- That's why you can't understand recursion
- How to confirm the storage mode of the current system by program?
- Puppeter connects to the existing Chrome browser
- ThreadLocal详解
- 2022-07-05 stonedb sub query processing parsing time analysis
- 机试刷题1
- 基於 QEMUv8 搭建 OP-TEE 開發環境
- uniapp设置背景图效果demo(整理)
- Uniapp setting background image effect demo (sorting)
- 2014阿里巴巴web前实习生项目分析(1)
猜你喜欢
MySQL ---- first acquaintance with MySQL
Netxpert xg2 helps you solve the problem of "Cabling installation and maintenance"
如何用程序确认当前系统的存储模式?
剑指offer刷题记录1
Improving Multimodal Accuracy Through Modality Pre-training and Attention
Unity3d minigame-unity-webgl-transform插件转换微信小游戏报错To use dlopen, you need to use Emscripten‘s...问题
Sword finger offer question brushing record 1
signed、unsigned关键字
Web APIs DOM time object
自制J-Flash烧录工具——Qt调用jlinkARM.dll方式
随机推荐
What are the specific steps and schedule of IELTS speaking?
Leetcode: interview question 17.24 Maximum cumulative sum of submatrix (to be studied)
Config:invalid signature solution and troubleshooting details
SQL Server生成自增序号
Attack and defense world miscall
2022-07-04 the high-performance database engine stonedb of MySQL is compiled and run in centos7.9
pytorch_ Yolox pruning [with code]
uniapp滑动到一定的高度后固定某个元素到顶部效果demo(整理)
Aardio - 封装库时批量处理属性与回调函数的方法
剪映+json解析将视频中的声音转换成文本
Windows auzre background operation interface of Microsoft's cloud computing products
自制J-Flash烧录工具——Qt调用jlinkARM.dll方式
Dealing with the crash of QT quick project in offscreen mode
Export MySQL table data in pure mode
SQL server generates auto increment sequence number
MySQL教程的天花板,收藏好,慢慢看
three.js绚烂的气泡效果
Unity3d minigame unity webgl transform plug-in converts wechat games to use dlopen, you need to use embedded 's problem
树的先序中序后序遍历
What are the interface tests? What are the general test points?