Windows 10 安装程序_ubuntu20.04安装cuda

Windows 10 安装程序_ubuntu20.04安装cudaWindows10安装CUDAToolkit10.10.NVCUDA.DLL-NVIDIACUDA10.1.135driver-NVIDIA驱动程序版本NVIDIA控制面板->帮助->系统信息->组件1.CUDAToolkitCUDAToolkithttps://developer.nvidia.com/cuda-toolkitCUDAToolkitDownloadhttps://developer.nvidia.com/

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺



Windows 10 安装 CUDA Toolkit 10.1

0. NVCUDA.DLL – NVIDIA CUDA 10.1.135 driver – NVIDIA 驱动程序版本

NVIDIA 控制面板 -> 帮助 -> 系统信息 -> 组件
在这里插入图片描述

1. CUDA Toolkit

CUDA Toolkit
https://developer.nvidia.com/cuda-toolkit

CUDA Toolkit Download
https://developer.nvidia.com/cuda-downloads

CUDA Toolkit Archive
https://developer.nvidia.com/cuda-toolkit-archive

2. CUDA Toolkit 10.1 original Archive

CUDA Toolkit 10.1 original Archive
https://developer.nvidia.com/cuda-10.1-download-archive-base

CUDA Toolkit 10.1 (Feb 2019), Online Documentation
https://docs.nvidia.com/cuda/archive/10.1/

The checksums for the installer and patches can be found in Installer Checksums.
https://developer.download.nvidia.cn/compute/cuda/10.1/Prod/docs/sidebar/md5sum.txt
For further information, see the Installation Guide for Microsoft Windows and the CUDA Quick Start Guide.
https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html
https://docs.nvidia.com/cuda/cuda-quick-start-guide/index.html

在这里插入图片描述

3. cuda_10.1.105_418.96_win10.exe

1. Double click cuda_10.1.105_418.96_win10.exe
C:\Users\cheng\AppData\Local\Temp\CUDA
在这里插入图片描述

2. NVIDIA 软件许可协议
在这里插入图片描述

在这里插入图片描述

3. 自定义
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

4. 选择安装位置
在这里插入图片描述

5. NVIDIA 安装程序失败
在这里插入图片描述

在这里插入图片描述

6. 自定义安装选项 – 取消勾选 Visual Studio Integration
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

7. CUDA Samples
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.1
在这里插入图片描述

4. nvcc -V

Microsoft Windows [版本 10.0.17763.1158]
(c) 2018 Microsoft Corporation。保留所有权利。

C:\Users\cheng>nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:26_Pacific_Standard_Time_2019
Cuda compilation tools, release 10.1, V10.1.105

C:\Users\cheng>

在这里插入图片描述

5. C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1

在这里插入图片描述

6. 环境变量 -> 系统变量

CUDA_PATH
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1

CUDA_PATH_V10_1
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1

NVCUDASAMPLES_ROOT
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.1

NVCUDASAMPLES10_1_ROOT
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.1

在这里插入图片描述

7. demo_suite

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite
在这里插入图片描述

Shift + 鼠标右键 -> 在此处打开 Powershell 窗口
在这里插入图片描述

PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite> dir


    目录: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         2020/5/4     21:16                nbody_data_files
d-----         2020/5/4     21:16                oceanFFT_data_files
d-----         2020/5/4     21:16                randomFog_data_files
-a----         2019/2/9     13:57         250880 bandwidthTest.exe
-a----         2019/2/9     13:57         279552 busGrind.exe
-a----         2019/2/9     13:57         200192 deviceQuery.exe
-a----         2019/2/9     13:57         311296 freeglut.dll
-a----         2019/2/9     13:57         229376 glew64.dll
-a----         2019/2/9     13:57        1265664 nbody.exe
-a----         2019/2/9     13:57         552448 oceanFFT.exe
-a----         2019/2/9     13:57         409088 randomFog.exe
-a----         2019/2/9     13:57         224256 vectorAdd.exe


PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite>

.\bandwidthTest.exe

PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite> .\bandwidthTest.exe
[CUDA Bandwidth Test] - Starting...
Running on...

 Device 0: GeForce GTX 1060 with Max-Q Design
 Quick Mode

 Host to Device Bandwidth, 1 Device(s)
 PINNED Memory Transfers
   Transfer Size (Bytes)        Bandwidth(MB/s)
   33554432                     6343.7

 Device to Host Bandwidth, 1 Device(s)
 PINNED Memory Transfers
   Transfer Size (Bytes)        Bandwidth(MB/s)
   33554432                     6409.8

 Device to Device Bandwidth, 1 Device(s)
 PINNED Memory Transfers
   Transfer Size (Bytes)        Bandwidth(MB/s)
   33554432                     146651.3

Result = PASS

NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.
PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite>

.\deviceQuery.exe

PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite> .\deviceQuery.exe
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite\deviceQuery.exe Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "GeForce GTX 1060 with Max-Q Design"
  CUDA Driver Version / Runtime Version          10.1 / 10.1
  CUDA Capability Major/Minor version number:    6.1
  Total amount of global memory:                 6144 MBytes (6442450944 bytes)
  (10) Multiprocessors, (128) CUDA Cores/MP:     1280 CUDA Cores
  GPU Max Clock rate:                            1342 MHz (1.34 GHz)
  Memory Clock rate:                             4004 Mhz
  Memory Bus Width:                              192-bit
  L2 Cache Size:                                 1572864 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
  Maximum Layered 1D Texture Size, (num) layers  1D=(32768), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(32768, 32768), 2048 layers
  Total amount of constant memory:               zu bytes
  Total amount of shared memory per block:       zu bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          zu bytes
  Texture alignment:                             zu bytes
  Concurrent copy and kernel execution:          Yes with 5 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  CUDA Device Driver Mode (TCC or WDDM):         WDDM (Windows Display Driver Model)
  Device supports Unified Addressing (UVA):      Yes
  Device supports Compute Preemption:            Yes
  Supports Cooperative Kernel Launch:            No
  Supports MultiDevice Co-op Kernel Launch:      No
  Device PCI Domain ID / Bus ID / location ID:   0 / 1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.1, CUDA Runtime Version = 10.1, NumDevs = 1, Device0 = GeForce GTX 1060 with Max-Q Design
Result = PASS
PS C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\demo_suite>

References

CUDA Toolkit
https://developer.nvidia.com/cuda-toolkit

GPU-Accelerated Libraries for AI and HPC
https://developer.nvidia.com/gpu-accelerated-libraries

NVIDIA Developer Tools Overview
https://developer.nvidia.com/tools-overview

CUDA Toolkit Documentation
https://docs.nvidia.com/cuda/

CUDA Installation Guide for Microsoft Windows
https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html

CUDA Quick Start Guide
https://docs.nvidia.com/cuda/cuda-quick-start-guide/index.html

CUDA Code Samples
https://developer.nvidia.com/cuda-code-samples

An Even Easier Introduction to CUDA
https://devblogs.nvidia.com/even-easier-introduction-cuda/

NVIDIA Developer Blog
https://devblogs.nvidia.com/

Accelerated Computing – Training
https://developer.nvidia.com/accelerated-computing-training

NVIDIA Developer Forums
https://forums.developer.nvidia.com/

Display Driver Uninstaller (DDU)
https://www.wagnardsoft.com/

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/192703.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • SpringBoot 跨域配置

    SpringBoot 跨域配置介绍三种方式使用SpringBoot配置跨域。

    2022年6月16日
    27
  • mybatis map foreach_while的三个用法

    mybatis map foreach_while的三个用法MyBatis循环Map今天遇到一个比较特殊的业务,需要对传入的Map数据在映射文件中进行遍历,在之前的学习中,我们也知道MyBatis有默认对集合的操作list和array,但是没有默认的map,所有不能直接写collection=“map”,如果这么处理,它会当成是根据map.get(“map”)获取传递value只,大部分情况下是一个map中是不会有“map”这个key的,于是就是报错。如果你想用map标识来获取参数map,就需要保证传入的Map参数有@Param(“map”

    2022年8月30日
    4
  • JRtplib开发笔记(三):JRtplib库编程使用说明

    原博主博客地址:https://blog.csdn.net/qq21497936本文章博客地址:https://blog.csdn.net/qq21497936/article/details/84957120《JRtplib开发笔记(一):JRtplib简介、JThread库编译》:https://blog.csdn.net/qq21497936/article/details/8478…

    2022年4月7日
    83
  • idea配置lombok.jar(idea安装离线插件)

    项目中经常使用bean,entity等类,绝大部分数据类类中都需要get、set、toString、equals和hashCode方法,虽然eclipse和idea开发环境下都有自动生成的快捷方式,但自动生成这些代码后,如果bean中的属性一旦有修改、删除或增加时,需要重新生成或删除get/set等方法,给代码维护增加负担。而使用了lombok则不一样,使用了lombok的注解(@Setter,@Getter,@ToString,@@RequiredArgsConstructor,@EqualsAndHas

    2022年4月14日
    275
  • 直流无刷电机工作原理「建议收藏」

    直流无刷电机工作原理「建议收藏」直流无刷电机工作原理

    2022年8月2日
    8
  • 自制51单片机最小系统开发板[通俗易懂]

    自制51单片机最小系统开发板[通俗易懂]2.单片机最小系统介绍单片机(Microcontrollers)是一种集成电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU、随机存储器RAM、只读存储器ROM、多种I/O口和中断系统、定时器/计数器等功能(可能还包括显示驱动电路、脉宽调制电路、模拟多路转换器、A/D转换器等电路)集成到一块硅片上构成的一个小而完善的微型计

    2022年6月23日
    25

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号