@@ -19,7 +19,7 @@ def setup(self):
1919 if options .sycl is None :
2020 return
2121
22- repo_path = git_clone (self .directory , "compute-benchmarks-repo" , "https://github.com/intel/compute-benchmarks.git" , "aa6a3b2108bb86202b654ad28129156fa746d41d " )
22+ repo_path = git_clone (self .directory , "compute-benchmarks-repo" , "https://github.com/intel/compute-benchmarks.git" , "c80ddec9f0b4905bcbeb0f264f710093dc70340d " )
2323 build_path = create_build_path (self .directory , 'compute-benchmarks-build' )
2424
2525 configure_command = [
@@ -59,12 +59,14 @@ def benchmarks(self) -> list[Benchmark]:
5959 ExecImmediateCopyQueue (self , 0 , 1 , 'Device' , 'Device' , 1024 ),
6060 ExecImmediateCopyQueue (self , 1 , 1 , 'Device' , 'Host' , 1024 ),
6161 VectorSum (self ),
62- MemcpyExecute (self , 400 , 8 , 1024 , 100 ),
63- MemcpyExecute (self , 400 , 8 , 102400 , 10 ),
64- MemcpyExecute (self , 500 , 8 , 102400 , 10 ),
65- MemcpyExecute (self , 400 , 1 , 1024 , 1000 ),
66- MemcpyExecute (self , 10 , 16 , 1024 , 1000 ),
67- MemcpyExecute (self , 10 , 16 , 102400 , 100 ),
62+ MemcpyExecute (self , 400 , 1 , 102400 , 10 , 1 , 1 ),
63+ MemcpyExecute (self , 100 , 8 , 102400 , 10 , 1 , 1 ),
64+ MemcpyExecute (self , 400 , 8 , 1024 , 1000 , 1 , 1 ),
65+ MemcpyExecute (self , 10 , 16 , 1024 , 10000 , 1 , 1 ),
66+ MemcpyExecute (self , 400 , 1 , 102400 , 10 , 0 , 1 ),
67+ MemcpyExecute (self , 100 , 8 , 102400 , 10 , 0 , 1 ),
68+ MemcpyExecute (self , 400 , 8 , 1024 , 1000 , 0 , 1 ),
69+ MemcpyExecute (self , 10 , 16 , 1024 , 10000 , 0 , 1 ),
6870 ]
6971
7072 if options .ur is not None :
@@ -265,15 +267,17 @@ def bin_args(self) -> list[str]:
265267 ]
266268
267269class MemcpyExecute (ComputeBenchmark ):
268- def __init__ (self , bench , numOpsPerThread , numThreads , allocSize , iterations ):
270+ def __init__ (self , bench , numOpsPerThread , numThreads , allocSize , iterations , srcUSM , dstUSM ):
269271 self .numOpsPerThread = numOpsPerThread
270272 self .numThreads = numThreads
271273 self .allocSize = allocSize
272274 self .iterations = iterations
275+ self .srcUSM = srcUSM
276+ self .dstUSM = dstUSM
273277 super ().__init__ (bench , "multithread_benchmark_ur" , "MemcpyExecute" )
274278
275279 def name (self ):
276- return f"multithread_benchmark_ur MemcpyExecute opsPerThread:{ self .numOpsPerThread } , numThreads:{ self .numThreads } , allocSize:{ self .allocSize } "
280+ return f"multithread_benchmark_ur MemcpyExecute opsPerThread:{ self .numOpsPerThread } , numThreads:{ self .numThreads } , allocSize:{ self .allocSize } srcUSM: { self . srcUSM } dstUSM: { self . dstUSM } "
277281
278282 def bin_args (self ) -> list [str ]:
279283 return [
@@ -284,5 +288,7 @@ def bin_args(self) -> list[str]:
284288 f"--AllocSize={ self .allocSize } " ,
285289 f"--NumThreads={ self .numThreads } " ,
286290 f"--NumOpsPerThread={ self .numOpsPerThread } " ,
287- f"--iterations={ self .iterations } "
291+ f"--iterations={ self .iterations } " ,
292+ f"--SrcUSM={ self .srcUSM } " ,
293+ f"--DstUSM={ self .dstUSM } " ,
288294 ]
0 commit comments