jiaolovekt / mygpu

Nvidia GPU Compute Capability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mygpu

Obtain compute capability information about Nvidia GPU

Table of contents

  1. Requirements
  2. Getting
  3. Using
  4. Bugs
  5. References
  6. Disclaimer

Requirements

  • WebGL supported browser

  • Nvidia GPU and recent drivers

-- On Hybrid systems/ notebooks with multiple GPUs - Refer https://alteredqualia.com/texts/optimus/

-- On Tegra systems, Chrome seems to be using SwiftShader by default, so perform the manual step of identification (#manual)

How to get compute capability

Browser

Browse to this link - https://gpupowered.org/mygpu/

The compute information will be displayed in the same page

Screenshot

Manually

Obtain the name of the GPU by running below command on command line

nvidia-smi --query-gpu=name --format=csv

Then use this json file to find the compute capability

https://github.com/prabindh/mygpu/blob/main/mygpu.json

Using this information

In Makefiles

Enter only the compute_xx string obtained above, in the arch= and code= fields below

ARCH= -gencode arch=compute_xx,code=compute_xx
$(OBJDIR)%.o: %.cu $(DEPS)
    $(NVCC) $(ARCH) $(COMMON) --compiler-options "$(CFLAGS)" -c $< -o $@

In Visual Studio (For CUDA Runtime Project Type only)

Enter the complete string obtained above, in this field

Configuration Properties --> CUDA C/C++ --> Device --> Code Generation --> compute_xx,sm_xx

Bug/Unlisted GPU

References

Disclaimer

Author or contributors not responsible for any direct, indirect, or consequential loss or damage resulting from any usage of this data.

This is not an official Nvidia product.

Sourced from public material at https://en.wikipedia.org/wiki/CUDA and https://developer.nvidia.com/cuda-gpus#compute.

Only covers GPUs with CUDA compute capability > 5.0. For ex, these are not listed (GeForce GTX 680,GTX 590,GTX 580,GTX 570,GTX 560 Ti,GTX 560,GT 440,GTX 480,GTX 470,GTX 465,GTX 295,GTX 280/GTX 285,GTX 260,210,GT 240,GT 220,GT 130,GT 120,GTS 250,9800 GX2,9800 GTX,9800 GT,9600 GSO,9600 GT,8800 GTX/Ultra,8800 GT,8800 GTS,8600 GT/GTS,8400 GS/GT)

About

Nvidia GPU Compute Capability


Languages

Language:JavaScript 63.3%Language:HTML 36.7%