GPU---NVIDIA GPU 计算能力

查询网址:https://developer.nvidia.com/cuda-gpus

使用,makefile文件实例:

GPU=1
CUDNN=1
OPENCV=1
OPENMP=0
DEBUG=1

ARCH= -gencode arch=compute_30,code=sm_30 \
      -gencode arch=compute_35,code=sm_35 \
      -gencode arch=compute_50,code=[sm_50,compute_50] \
      -gencode arch=compute_52,code=[sm_52,compute_52]
#      -gencode arch=compute_20,code=[sm_20,sm_21] \ This one is deprecated?

# This is what I use, uncomment if you know your arch and want to specify
# ARCH= -gencode arch=compute_52,code=compute_52
ARCH= -gencode arch=compute_75,code=compute_75

本机:RTX 2080 Ti

猜你喜欢

转载自www.cnblogs.com/carle-09/p/11727092.html
GPU