Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reference-repository
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
grid5000
reference-repository
Commits
4636d35c
Commit
4636d35c
authored
1 year ago
by
Pierre Neyron
Committed by
POUILLOUX Laurent
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[wiki:hw] fix sort for some columns.
parent
2d31f7c7
No related branches found
No related tags found
1 merge request
!539
Fix wiki hw sort
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/refrepo/gen/wiki/generators/hardware.rb
+4
-4
4 additions, 4 deletions
lib/refrepo/gen/wiki/generators/hardware.rb
with
4 additions
and
4 deletions
lib/refrepo/gen/wiki/generators/hardware.rb
+
4
−
4
View file @
4636d35c
...
@@ -65,14 +65,14 @@ class G5KHardwareGenerator < WikiGenerator
...
@@ -65,14 +65,14 @@ class G5KHardwareGenerator < WikiGenerator
init
(
data
,
'core_architectures'
,
key
)
init
(
data
,
'core_architectures'
,
key
)
data
[
'core_architectures'
][
key
][
site_uid
]
+=
cluster_cores
data
[
'core_architectures'
][
key
][
site_uid
]
+=
cluster_cores
key
=
[
vendor
,
model
,
architecture
]
key
=
[
vendor
,
model
,
{
text:
architecture
,
sort:
architecture
}
]
init
(
data
,
'proc_families'
,
key
)
init
(
data
,
'proc_families'
,
key
)
data
[
'proc_families'
][
key
][
site_uid
]
+=
cluster_procs
data
[
'proc_families'
][
key
][
site_uid
]
+=
cluster_procs
init
(
data
,
'core_families'
,
key
)
init
(
data
,
'core_families'
,
key
)
data
[
'core_families'
][
key
][
site_uid
]
+=
cluster_cores
data
[
'core_families'
][
key
][
site_uid
]
+=
cluster_cores
key
=
[
vendor
,
{
text:
proc_desc
,
sort:
get_date
(
microarchitecture
)
+
', '
+
proc_desc
.
to_s
},
{
text:
microarchitecture
||
' '
,
sort:
get_date
(
microarchitecture
)
+
', '
+
microarchitecture
.
to_s
},
architecture
]
key
=
[
vendor
,
{
text:
proc_desc
,
sort:
get_date
(
microarchitecture
)
+
', '
+
proc_desc
.
to_s
},
{
text:
microarchitecture
||
' '
,
sort:
get_date
(
microarchitecture
)
+
', '
+
microarchitecture
.
to_s
},
{
text:
architecture
,
sort:
architecture
}
]
init
(
data
,
'proc_models'
,
key
)
init
(
data
,
'proc_models'
,
key
)
data
[
'proc_models'
][
key
][
site_uid
]
+=
cluster_procs
data
[
'proc_models'
][
key
][
site_uid
]
+=
cluster_procs
...
@@ -199,11 +199,11 @@ class G5KHardwareGenerator < WikiGenerator
...
@@ -199,11 +199,11 @@ class G5KHardwareGenerator < WikiGenerator
mem
=
RefRepo
::
Utils
.
get_as_gb
(
acc
[
'memory'
])
mem
=
RefRepo
::
Utils
.
get_as_gb
(
acc
[
'memory'
])
end
end
key
=
[
vendor
,
acc_type
.
to_s
]
key
=
[
vendor
,
{
text:
acc_type
.
to_s
,
sort:
acc_type
.
to_s
}
]
init
(
data
,
'acc_families'
,
key
)
init
(
data
,
'acc_families'
,
key
)
data
[
'acc_families'
][
key
][
site_uid
]
+=
1
data
[
'acc_families'
][
key
][
site_uid
]
+=
1
key
=
[
vendor
,
acc_type
.
to_s
,
model
,
{
text:
"
#{
mem
}
GB"
,
sort:
mem
}
,
compute_capability
]
key
=
[
vendor
,
{
text:
acc_type
.
to_s
,
sort:
acc_type
.
to_s
},
model
,
{
text:
"
#{
mem
}
GB"
,
sort:
mem
}]
init
(
data
,
'acc_models'
,
key
)
init
(
data
,
'acc_models'
,
key
)
data
[
'acc_models'
][
key
][
site_uid
]
+=
1
data
[
'acc_models'
][
key
][
site_uid
]
+=
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment