Skip to content

Commit f3c94d8

Browse files
committed
Graph API benchmarks added
1 parent ad88f0a commit f3c94d8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

scripts/benchmarks/benches/compute.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,3 +355,30 @@ def bin_args(self) -> list[str]:
355355
f"--SrcUSM={self.srcUSM}",
356356
f"--DstUSM={self.dstUSM}",
357357
]
358+
359+
class GraphApiSinKernelSYCL(ComputeBenchmark):
360+
def __init__(self, bench):
361+
super().__init__(bench, "graph_api_benchmark_sycl", "SinKernel")
362+
363+
def name(self):
364+
return f"graph_api_benchmark_sycl SinKernel"
365+
366+
def bin_args(self) -> list[str]:
367+
return [
368+
"--iterations=1000",
369+
"--numKernels=100",
370+
]
371+
372+
class GraphApiSubmitExecute(ComputeBenchmark):
373+
def __init__(self, bench):
374+
super().__init__(bench, "graph_api_benchmark_sycl", "SubmitExecute")
375+
376+
def name(self):
377+
return f"graph_api_benchmark_sycl SubmitExecute"
378+
379+
def bin_args(self) -> list[str]:
380+
return [
381+
"--iterations=1000",
382+
"--numKernels=100",
383+
]
384+

0 commit comments

Comments
 (0)