• ubuntu查看cuda、cuDNN版本


    ubuntu查看cuda、cuDNN版本

    cuda:

    #cat /usr/local/cuda/version.txt 

    star@xmatrix:~$ cat /usr/local/cuda/version.txt 
    CUDA Version 10.1.105
    star@xmatrix:~$ 

    或者  nvcc -V 

    cuDNN:

    #cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

    star@xmatrix:~$ 
    star@xmatrix:~$ cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
    #define CUDNN_MAJOR 7
    #define CUDNN_MINOR 5
    #define CUDNN_PATCHLEVEL 1
    --
    #define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
    #include "driver_types.h"
    star@xmatrix:~$ 
    star@xmatrix:~$ 

    GNU make

    tar@xmatrix:~$ make --version
    GNU Make 4.1
    Built for x86_64-pc-linux-gnu
    Copyright (C) 1988-2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    star@xmatrix:~$ 

    cmake

    star@xmatrix:~$ cmake --version
    cmake version 3.5.1
    
    CMake suite maintained and supported by Kitware (kitware.com/cmake).
    star@xmatrix:~$ 
    star@xmatrix:~$ 

     

  • 相关阅读:
    Golang 之 casbin(权限管理)
    Golang validate验证器
    商城实战课程
    webstorm上的Element提示插件
    实战高并发大流量秒杀系统
    lettcode 739: 每日温度
    时钟同步 chrony
    linux 文件目录权限命令
    Nginx 四层负载均衡
    Nginx 版本回滚
  • 原文地址:https://www.cnblogs.com/herd/p/12092005.html
Copyright © 2020-2023  润新知