@@ -20,7 +20,7 @@ def setup(self):
20
20
if self .built :
21
21
return
22
22
23
- repo_path = git_clone (self .directory , "compute-benchmarks-repo" , "https://github.com/intel/compute-benchmarks.git" , "08c41bb8bc1762ad53c6194df6d36bfcceff4aa2 " )
23
+ repo_path = git_clone (self .directory , "compute-benchmarks-repo" , "https://github.com/intel/compute-benchmarks.git" , "aa6a3b2108bb86202b654ad28129156fa746d41d " )
24
24
build_path = create_build_path (self .directory , 'compute-benchmarks-build' )
25
25
26
26
configure_command = [
@@ -231,3 +231,26 @@ def bin_args(self) -> list[str]:
231
231
"--numberOfElementsY=256" ,
232
232
"--numberOfElementsZ=256" ,
233
233
]
234
+
235
+ class MemcpyExecute (ComputeBenchmark ):
236
+ def __init__ (self , bench , numOpsPerThread , numThreads , allocSize , iterations ):
237
+ self .numOpsPerThread = numOpsPerThread
238
+ self .numThreads = numThreads
239
+ self .allocSize = allocSize
240
+ self .iterations = iterations
241
+ super ().__init__ (bench , "multithread_benchmark_ur" , "MemcpyExecute" )
242
+
243
+ def name (self ):
244
+ return f"multithread_benchmark_ur MemcpyExecute opsPerThread:{ self .numOpsPerThread } , numThreads:{ self .numThreads } , allocSize:{ self .allocSize } "
245
+
246
+ def bin_args (self ) -> list [str ]:
247
+ return [
248
+ "--Ioq=1" ,
249
+ "--UseEvents=1" ,
250
+ "--MeasureCompletion=1" ,
251
+ "--UseQueuePerThread=1" ,
252
+ f"--AllocSize={ self .allocSize } " ,
253
+ f"--NumThreads={ self .numThreads } " ,
254
+ f"--NumOpsPerThread={ self .numOpsPerThread } " ,
255
+ f"--iterations={ self .iterations } "
256
+ ]
0 commit comments