Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gpuhw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
gpuhw
Commits
3fc1e824
Commit
3fc1e824
authored
Mar 20, 2024
by
Ubuntu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gpu model name
parent
41c71093
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
29 deletions
+36
-29
gpu.go
gpu.go
+36
-29
No files found.
gpu.go
View file @
3fc1e824
...
...
@@ -72,6 +72,10 @@ func getGPU() ([]DeviceInfo, error) {
c
=
v
}
else
{
fmt
.
Println
(
"can not find the model '"
+
name
+
"'"
)
for
k
,
v
:=
range
comput
{
fmt
.
Println
(
k
,
v
)
}
}
e
=
DeviceInfo
{
...
...
@@ -98,35 +102,38 @@ func init() {
comput
:=
make
(
map
[
string
]
uint64
,
100
)
comput
[
" NVIDIA GeForce RTX 4090"
]
=
1
*
10000
comput
[
" NVIDIA GeForce RTX 4080SUPER"
]
=
6450
comput
[
" NVIDIA GeForce RTX 4080"
]
=
6290
comput
[
" NVIDIA GeForce RTX 4070 Ti SUPER"
]
=
5860
comput
[
" NVIDIA GeForce RTX 4070 Ti"
]
=
4840
comput
[
" NVIDIA GeForce RTX 4070 SUPER"
]
=
4680
comput
[
" NVIDIA GeForce RTX 4070"
]
=
4240
comput
[
" NVIDIA GeForce RTX 4060 Ti"
]
=
4210
comput
[
" NVIDIA GeForce RTX 4060"
]
=
2500
comput
[
" NVIDIA GeForce RTX 3090 Ti"
]
=
7960
comput
[
" NVIDIA GeForce RTX 3090"
]
=
7870
comput
[
" NVIDIA GeForce RTX 3080 Ti"
]
=
5500
comput
[
" NVIDIA GeForce RTX 3080"
]
=
5140
comput
[
" NVIDIA GeForce RTX 3070 Ti"
]
=
3480
comput
[
" NVIDIA GeForce RTX 3070"
]
=
3400
comput
[
" NVIDIA GeForce RTX 3060 Ti"
]
=
3090
comput
[
" NVIDIA GeForce RTX 3060"
]
=
3250
comput
[
" NVIDIA GeForce RTX 3050"
]
=
2240
comput
[
" NVIDIA GeForce RTX 2080 Ti"
]
=
3200
comput
[
" NVIDIA GeForce RTX 2080 SUPER"
]
=
2290
comput
[
" NVIDIA GeForce RTX 2080"
]
=
2250
comput
[
" NVIDIA GeForce RTX 2070 SUPER"
]
=
2100
comput
[
" NVIDIA GeForce RTX 2070"
]
=
1990
comput
[
" NVIDIA GeForce RTX 2060 SUPER"
]
=
1930
comput
[
" NVIDIA GeForce RTX 2060"
]
=
2370
comput
[
" NVIDIA GeForce GTX 1080 Ti"
]
=
2620
comput
[
" NVIDIA GeForce GTX 1080"
]
=
1890
comput
[
" NVIDIA GeForce GTX 1070 Ti"
]
=
1840
comput
[
" NVIDIA GeForce GTX 1070"
]
=
1640
comput
[
"NVIDIA GeForce RTX 4090"
]
=
1
*
10000
comput
[
"NVIDIA GeForce RTX 4080SUPER"
]
=
6450
comput
[
"NVIDIA GeForce RTX 4080"
]
=
6290
comput
[
"NVIDIA GeForce RTX 4070 Ti SUPER"
]
=
5860
comput
[
"NVIDIA GeForce RTX 4070 Ti"
]
=
4840
comput
[
"NVIDIA GeForce RTX 4070 SUPER"
]
=
4680
comput
[
"NVIDIA GeForce RTX 4070"
]
=
4240
comput
[
"NVIDIA GeForce RTX 4060 Ti"
]
=
4210
comput
[
"NVIDIA GeForce RTX 4060"
]
=
2500
comput
[
"NVIDIA GeForce RTX 3090 Ti"
]
=
7960
comput
[
"NVIDIA GeForce RTX 3090"
]
=
7870
comput
[
"NVIDIA GeForce RTX 3080 Ti"
]
=
5500
//NVIDIA GeForce RTX 3080
comput
[
"NVIDIA GeForce RTX 3080"
]
=
5140
//comput["NVIDIA GeForce RTX 3080"] = 5140
comput
[
"NVIDIA GeForce RTX 3070 Ti"
]
=
3480
comput
[
"NVIDIA GeForce RTX 3070"
]
=
3400
comput
[
"NVIDIA GeForce RTX 3060 Ti"
]
=
3090
comput
[
"NVIDIA GeForce RTX 3060"
]
=
3250
comput
[
"NVIDIA GeForce RTX 3050"
]
=
2240
comput
[
"NVIDIA GeForce RTX 2080 Ti"
]
=
3200
comput
[
"NVIDIA GeForce RTX 2080 SUPER"
]
=
2290
comput
[
"NVIDIA GeForce RTX 2080"
]
=
2250
comput
[
"NVIDIA GeForce RTX 2070 SUPER"
]
=
2100
comput
[
"NVIDIA GeForce RTX 2070"
]
=
1990
comput
[
"NVIDIA GeForce RTX 2060 SUPER"
]
=
1930
comput
[
"NVIDIA GeForce RTX 2060"
]
=
2370
comput
[
"NVIDIA GeForce GTX 1080 Ti"
]
=
2620
comput
[
"NVIDIA GeForce GTX 1080"
]
=
1890
comput
[
"NVIDIA GeForce GTX 1070 Ti"
]
=
1840
comput
[
"NVIDIA GeForce GTX 1070"
]
=
1640
}
//10000
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment