当前位置:网站首页>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\BuildCustomizationsVS2017:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\BuildCustomizationsVS2019:
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
边栏推荐
猜你喜欢

MySQL数据库基本操作-DML

config:invalid signature 解决办法和问题排查详解

在IPv6中 链路本地地址的优势

基於 QEMUv8 搭建 OP-TEE 開發環境

【编译原理】做了一半的LR(0)分析器

Attack and defense world miscall

Clip +json parsing converts the sound in the video into text

MySQL ---- first acquaintance with MySQL

2022-07-04 mysql的高性能数据库引擎stonedb在centos7.9编译及运行
![[linear algebra] determinant of order 1.3 n](/img/6e/54f3a994fc4c2c10c1036bee6715e8.gif)
[linear algebra] determinant of order 1.3 n
随机推荐
2022-07-05 use TPCC to conduct sub query test on stonedb
Unity3d minigame unity webgl transform plug-in converts wechat games to use dlopen, you need to use embedded 's problem
leetcode:面试题 17.24. 子矩阵最大累加和(待研究)
2022-07-04 the high-performance database engine stonedb of MySQL is compiled and run in centos7.9
UDP programming
Sizeof keyword
Puppeteer连接已有Chrome浏览器
How do I write Flask's excellent debug log message to a file in production?
Web APIs DOM 时间对象
Aardio - integrate variable values into a string of text through variable names
(十八)LCD1602实验
自制J-Flash烧录工具——Qt调用jlinkARM.dll方式
Volatile keyword
MySQL教程的天花板,收藏好,慢慢看
0 basic learning C language - digital tube
Aardio - 通过变量名将变量值整合到一串文本中
使用云服务器搭建代理
That's why you can't understand recursion
0 basic learning C language - interrupt
case 关键字后面的值有什么要求吗?