@@ -26,6 +26,7 @@ def runtime_to_name(runtime: RUNTIMES) -> str:
2626 RUNTIMES .UR : "Unified Runtime" ,
2727 }[runtime ]
2828
29+
2930def runtime_to_tag_name (runtime : RUNTIMES ) -> str :
3031 return {
3132 RUNTIMES .SYCL : "SYCL" ,
@@ -84,16 +85,15 @@ def additionalMetadata(self) -> dict[str, BenchmarkMetadata]:
8485 "The first layer is the Level Zero API, the second is the Unified Runtime API, and the third is the SYCL API.\n "
8586 "The UR v2 adapter noticeably reduces UR layer overhead, also improving SYCL performance.\n "
8687 "Work is ongoing to reduce the overhead of the SYCL API\n " ,
87- tags = [' submit' , ' micro' , ' SYCL' , 'UR' , 'L0' ]
88+ tags = [" submit" , " micro" , " SYCL" , "UR" , "L0" ],
8889 ),
8990 "SinKernelGraph" : BenchmarkMetadata (
9091 type = "group" ,
9192 unstable = "This benchmark combines both eager and graph execution, and may not be representative of real use cases." ,
92- tags = [' submit' , ' memory' , ' proxy' , ' SYCL' , 'UR' , 'L0' , ' graph' ]
93+ tags = [" submit" , " memory" , " proxy" , " SYCL" , "UR" , "L0" , " graph" ],
9394 ),
9495 "SubmitGraph" : BenchmarkMetadata (
95- type = "group" ,
96- tags = ['submit' , 'micro' , 'SYCL' , 'UR' , 'L0' , 'graph' ]
96+ type = "group" , tags = ["submit" , "micro" , "SYCL" , "UR" , "L0" , "graph" ]
9797 ),
9898 }
9999
@@ -279,7 +279,7 @@ def __init__(self, bench, runtime: RUNTIMES, ioq, measure_completion=0):
279279 )
280280
281281 def get_tags (self ):
282- return [' submit' , ' latency' , runtime_to_tag_name (self .runtime ), ' micro' ]
282+ return [" submit" , " latency" , runtime_to_tag_name (self .runtime ), " micro" ]
283283
284284 def name (self ):
285285 order = "in order" if self .ioq else "out of order"
@@ -344,7 +344,7 @@ def description(self) -> str:
344344 )
345345
346346 def get_tags (self ):
347- return [' memory' , ' submit' , ' latency' , ' SYCL' , ' micro' ]
347+ return [" memory" , " submit" , " latency" , " SYCL" , " micro" ]
348348
349349 def bin_args (self ) -> list [str ]:
350350 return [
@@ -377,7 +377,7 @@ def description(self) -> str:
377377 )
378378
379379 def get_tags (self ):
380- return [' memory' , ' latency' , ' SYCL' , ' micro' ]
380+ return [" memory" , " latency" , " SYCL" , " micro" ]
381381
382382 def bin_args (self ) -> list [str ]:
383383 return [
@@ -407,7 +407,7 @@ def description(self) -> str:
407407 )
408408
409409 def get_tags (self ):
410- return [' memory' , ' latency' , ' SYCL' , ' micro' ]
410+ return [" memory" , " latency" , " SYCL" , " micro" ]
411411
412412 def bin_args (self ) -> list [str ]:
413413 return [
@@ -439,7 +439,7 @@ def lower_is_better(self):
439439 return False
440440
441441 def get_tags (self ):
442- return [' memory' , ' throughput' , ' SYCL' , ' micro' ]
442+ return [" memory" , " throughput" , " SYCL" , " micro" ]
443443
444444 def bin_args (self ) -> list [str ]:
445445 return [
@@ -468,7 +468,7 @@ def description(self) -> str:
468468 )
469469
470470 def get_tags (self ):
471- return [' math' , ' throughput' , ' SYCL' , ' micro' ]
471+ return [" math" , " throughput" , " SYCL" , " micro" ]
472472
473473 def bin_args (self ) -> list [str ]:
474474 return [
@@ -517,7 +517,7 @@ def description(self) -> str:
517517 )
518518
519519 def get_tags (self ):
520- return [' memory' , ' latency' , 'UR' , ' micro' ]
520+ return [" memory" , " latency" , "UR" , " micro" ]
521521
522522 def bin_args (self ) -> list [str ]:
523523 return [
@@ -560,7 +560,14 @@ def unstable(self) -> str:
560560 return "This benchmark combines both eager and graph execution, and may not be representative of real use cases."
561561
562562 def get_tags (self ):
563- return ['graph' , runtime_to_tag_name (self .runtime ), 'proxy' , 'submit' , 'memory' , 'latency' ]
563+ return [
564+ "graph" ,
565+ runtime_to_tag_name (self .runtime ),
566+ "proxy" ,
567+ "submit" ,
568+ "memory" ,
569+ "latency" ,
570+ ]
564571
565572 def bin_args (self ) -> list [str ]:
566573 return [
@@ -595,7 +602,13 @@ def name(self):
595602 return f"graph_api_benchmark_{ self .runtime .value } SubmitGraph numKernels:{ self .numKernels } ioq { self .inOrderQueue } measureCompletion { self .measureCompletionTime } "
596603
597604 def get_tags (self ):
598- return ['graph' , runtime_to_tag_name (self .runtime ), 'micro' , 'submit' , 'latency' ]
605+ return [
606+ "graph" ,
607+ runtime_to_tag_name (self .runtime ),
608+ "micro" ,
609+ "submit" ,
610+ "latency" ,
611+ ]
599612
600613 def bin_args (self ) -> list [str ]:
601614 return [
@@ -625,7 +638,7 @@ def name(self):
625638 return f"ulls_benchmark_{ self .runtime .value } EmptyKernel wgc:{ self .wgc } , wgs:{ self .wgs } "
626639
627640 def get_tags (self ):
628- return [runtime_to_tag_name (self .runtime ), ' micro' , ' latency' , ' submit' ]
641+ return [runtime_to_tag_name (self .runtime ), " micro" , " latency" , " submit" ]
629642
630643 def bin_args (self ) -> list [str ]:
631644 return [
@@ -666,7 +679,7 @@ def name(self):
666679 return f"ulls_benchmark_{ self .runtime .value } KernelSwitch count { self .count } kernelTime { self .kernelTime } "
667680
668681 def get_tags (self ):
669- return [runtime_to_tag_name (self .runtime ), ' micro' , ' latency' , ' submit' ]
682+ return [runtime_to_tag_name (self .runtime ), " micro" , " latency" , " submit" ]
670683
671684 def bin_args (self ) -> list [str ]:
672685 return [
0 commit comments