We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 68d7ce0 + 69723a6 commit f88c3e9Copy full SHA for f88c3e9
1 file changed
wfcommons/wfbench/translator/templates/swift_t_templates/workflow.swift
@@ -85,7 +85,8 @@ task_name = "%s"
85
files_list = ["%s"]
86
gpu_work = int(%i)
87
cpu_work = int(%i)
88
-cpu_threads = int(10 * %f)
+percent_cpu = %f
89
+cpu_threads = int(10 * percent_cpu)
90
output_data = {"%s": int(%i)}
91
dep = %i
92
workflow_id = "%s"
@@ -98,7 +99,11 @@ if 'workflow_id':
98
99
start_persistence=False, save_workflow=False)
100
fc.start()
101
fc_task = FlowceptTask(workflow_id=workflow_id, used={
- 'workflow_id': workflow_id
102
+ 'workflow_id': workflow_id,
103
+ 'name': task_name,
104
+ 'percent-cpu': percent_cpu,
105
+ 'cpu-work': cpu_work,
106
+ 'gpu-work': gpu_work
107
})
108
109
logging.info(f"Starting {task_name} Benchmark on {socket.gethostname()}")
0 commit comments