Skip to content

Commit 5e0539a

Browse files
committed
fix multiple descriptions/notes
1 parent 30cd308 commit 5e0539a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

devops/scripts/benchmarks/benches/compute.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ def additionalMetadata(self) -> dict[str, BenchmarkMetadata]:
5959
"SubmitKernel": BenchmarkMetadata(
6060
type="group",
6161
description="Measures CPU time overhead of submitting kernels through different APIs.",
62-
notes="Each layer builds on top of the previous layer, adding functionality and overhead. "
63-
"The first layer is the Level Zero API, the second is the Unified Runtime API, and the third is the SYCL API. "
64-
"The UR v2 adapter noticeably reduces UR layer overhead, also improving SYCL performance."
65-
"Work is ongoing to reduce the overhead of the SYCL API",
62+
notes="Each layer builds on top of the previous layer, adding functionality and overhead.\n"
63+
"The first layer is the Level Zero API, the second is the Unified Runtime API, and the third is the SYCL API.\n"
64+
"The UR v2 adapter noticeably reduces UR layer overhead, also improving SYCL performance.\n"
65+
"Work is ongoing to reduce the overhead of the SYCL API\n",
6666
),
6767
"SinKernelGraph": BenchmarkMetadata(
6868
type="group",

devops/scripts/benchmarks/benches/test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def additionalMetadata(self) -> dict[str, BenchmarkMetadata]:
5050
"Foo Group": BenchmarkMetadata(
5151
type="group",
5252
description="This is a test benchmark for Foo Group.",
53-
notes="This is a test note for Foo Group.",
53+
notes="This is a test note for Foo Group.\n"
54+
"Look, multiple lines!",
5455
),
5556
"Bar Group": BenchmarkMetadata(
5657
type="group",

devops/scripts/benchmarks/html/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
margin-bottom: 10px;
193193
border-radius: 5px;
194194
border-left: 4px solid #084298;
195+
white-space: pre-line;
195196
}
196197
.benchmark-unstable {
197198
background-color: #f8d7da;
@@ -200,6 +201,7 @@
200201
margin-bottom: 10px;
201202
border-radius: 5px;
202203
border-left: 4px solid #842029;
204+
white-space: pre-line;
203205
}
204206
.note-text {
205207
color: #084298;

0 commit comments

Comments
 (0)