@@ -19,7 +19,7 @@ def setup(self):
19
19
if options .sycl is None :
20
20
return
21
21
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 " )
23
23
build_path = create_build_path (self .directory , 'compute-benchmarks-build' )
24
24
25
25
configure_command = [
@@ -59,12 +59,14 @@ def benchmarks(self) -> list[Benchmark]:
59
59
ExecImmediateCopyQueue (self , 0 , 1 , 'Device' , 'Device' , 1024 ),
60
60
ExecImmediateCopyQueue (self , 1 , 1 , 'Device' , 'Host' , 1024 ),
61
61
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 ),
68
70
]
69
71
70
72
if options .ur is not None :
@@ -265,15 +267,17 @@ def bin_args(self) -> list[str]:
265
267
]
266
268
267
269
class MemcpyExecute (ComputeBenchmark ):
268
- def __init__ (self , bench , numOpsPerThread , numThreads , allocSize , iterations ):
270
+ def __init__ (self , bench , numOpsPerThread , numThreads , allocSize , iterations , srcUSM , dstUSM ):
269
271
self .numOpsPerThread = numOpsPerThread
270
272
self .numThreads = numThreads
271
273
self .allocSize = allocSize
272
274
self .iterations = iterations
275
+ self .srcUSM = srcUSM
276
+ self .dstUSM = dstUSM
273
277
super ().__init__ (bench , "multithread_benchmark_ur" , "MemcpyExecute" )
274
278
275
279
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 } "
277
281
278
282
def bin_args (self ) -> list [str ]:
279
283
return [
@@ -284,5 +288,7 @@ def bin_args(self) -> list[str]:
284
288
f"--AllocSize={ self .allocSize } " ,
285
289
f"--NumThreads={ self .numThreads } " ,
286
290
f"--NumOpsPerThread={ self .numOpsPerThread } " ,
287
- f"--iterations={ self .iterations } "
291
+ f"--iterations={ self .iterations } " ,
292
+ f"--SrcUSM={ self .srcUSM } " ,
293
+ f"--DstUSM={ self .dstUSM } " ,
288
294
]
0 commit comments