@@ -22,7 +22,7 @@ def setup(self):
2222 if options .sycl is None :
2323 return
2424
25- repo_path = git_clone (self .directory , "compute-benchmarks-repo" , "https://github.com/intel/compute-benchmarks.git" , "d13e5b4d8dd3d28926a74ab7f67f78c10f708a01 " )
25+ repo_path = git_clone (self .directory , "compute-benchmarks-repo" , "https://github.com/intel/compute-benchmarks.git" , "578a7ac6f9bc48f6c2b408ef64a19a2ef9a216e7 " )
2626 build_path = create_build_path (self .directory , 'compute-benchmarks-build' )
2727
2828 configure_command = [
@@ -74,6 +74,18 @@ def benchmarks(self) -> list[Benchmark]:
7474 MemcpyExecute (self , 10 , 16 , 1024 , 10000 , 0 , 1 , 1 ),
7575 MemcpyExecute (self , 4096 , 1 , 1024 , 10 , 0 , 1 , 0 ),
7676 MemcpyExecute (self , 4096 , 4 , 1024 , 10 , 0 , 1 , 0 ),
77+ GraphApiSinKernelGraphSYCL (self , 0 , 10 ),
78+ GraphApiSinKernelGraphSYCL (self , 1 , 10 ),
79+ GraphApiSinKernelGraphSYCL (self , 0 , 100 ),
80+ GraphApiSinKernelGraphSYCL (self , 1 , 100 ),
81+ # Submit
82+ GraphApiSubmitExecGraph (self , 0 , 1 , 10 ),
83+ GraphApiSubmitExecGraph (self , 1 , 1 , 10 ),
84+ GraphApiSubmitExecGraph (self , 1 , 1 , 100 ),
85+ # Exec
86+ GraphApiSubmitExecGraph (self , 0 , 0 , 10 ),
87+ GraphApiSubmitExecGraph (self , 1 , 0 , 10 ),
88+ GraphApiSubmitExecGraph (self , 1 , 0 , 100 ),
7789 ]
7890
7991 if options .ur is not None :
@@ -357,3 +369,46 @@ def bin_args(self) -> list[str]:
357369 f"--SrcUSM={ self .srcUSM } " ,
358370 f"--DstUSM={ self .dstUSM } " ,
359371 ]
372+
373+ class GraphApiSinKernelGraphSYCL (ComputeBenchmark ):
374+ def __init__ (self , bench , withGraphs , numKernels ):
375+ self .withGraphs = withGraphs
376+ self .numKernels = numKernels
377+ super ().__init__ (bench , "graph_api_benchmark_sycl" , "SinKernelGraph" )
378+
379+ def explicit_group (self ):
380+ return "SinKernelGraph"
381+
382+ def name (self ):
383+ return f"graph_api_benchmark_sycl SinKernelGraph graphs:{ self .withGraphs } , numKernels:{ self .numKernels } "
384+
385+ def bin_args (self ) -> list [str ]:
386+ return [
387+ "--iterations=100" ,
388+ f"--numKernels={ self .numKernels } " ,
389+ f"--withGraphs={ self .withGraphs } " ,
390+ ]
391+
392+ class GraphApiSubmitExecGraph (ComputeBenchmark ):
393+ def __init__ (self , bench , ioq , submit , numKernels ):
394+ self .ioq = ioq
395+ self .submit = submit
396+ self .numKernels = numKernels
397+ super ().__init__ (bench , "graph_api_benchmark_sycl" , "SubmitExecGraph" )
398+
399+ def name (self ):
400+ return f"graph_api_benchmark_sycl SubmitExecGraph ioq:{ self .ioq } , submit:{ self .submit } , numKernels:{ self .numKernels } "
401+
402+ def explicit_group (self ):
403+ if self .submit :
404+ return "SubmitGraph"
405+ else :
406+ return "ExecGraph"
407+
408+ def bin_args (self ) -> list [str ]:
409+ return [
410+ "--iterations=100" ,
411+ f"--measureSubmit={ self .submit } " ,
412+ f"--ioq={ self .ioq } " ,
413+ f"--numKernels={ self .numKernels } " ,
414+ ]
0 commit comments