Skip to content

Commit

Permalink
nvidiactl: Add PCI-ID for Tesla V100
Browse files Browse the repository at this point in the history
schrader@gameboycolor:~
$ lspci -nnv |grep NVIDIA
3b:00.0 3D controller [0302]: NVIDIA Corporation GV100 [Tesla V100 PCIe] [10de:1db4] (rev a1)
	Subsystem: NVIDIA Corporation GV100GL [Tesla V100 PCIe] [10de:1214]

schrader@gameboycolor:~
$ lspci -nv |grep "3b:00.0"
3b:00.0 0302: 10de:1db4 (rev a1)
  • Loading branch information
david committed Feb 12, 2019
1 parent af63ad2 commit 6c266ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvidiactl/nvidiactl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PCIIDHINT_DIR=/usr/share/nvidia/pciidhints

kver=$(uname -r)

nvidiacards=( $(lspci -n | grep " 0300: 10de:" | cut -d ' ' -f 3) )
nvidiacards=( $(lspci -n | grep " 030[0,2]: 10de:" | cut -d ' ' -f 3) )

nvver=${nvidiacards[0]}

Expand Down

0 comments on commit 6c266ac

Please sign in to comment.