How to get card specs programmatically in CUDA

前端 未结 2 560
轮回少年
轮回少年 2021-02-02 17:55

I\'m just starting out with CUDA. Is there a way of getting the card specs programmatically?

2条回答
  •  鱼传尺愫
    2021-02-02 18:51

    This PDF describes how to do it: http://developer.download.nvidia.com/compute/cuda/3_2/toolkit/docs/CUDA_Developer_Guide_for_Optimus_Platforms.pdf

    (I Googled for [cuda get gpu capabilities].)

    In particular, cudaGetDeviceProperties looks interesting.

提交回复
热议问题