приведение способа задания ядер к единому, для двм и сапфора.

This commit is contained in:
2023-10-15 23:53:25 +03:00
parent f372d29a94
commit e574851b35
14 changed files with 41 additions and 125 deletions

View File

@@ -117,8 +117,8 @@ public class TestsSupervisor_2022 {
for (TestCompilationTask compilationTask : planner.packageTasks.values()) {
compilationLines.addAll(compilationTask.pack(1));
for (TestRunTask runTask : compilationTask.runTasks) {
int rt_kernels = (runTask.test_type == TestType.Performance) ? planner.maxKernels.limit :
Math.min(Utils.getMatrixProcessors(runTask.matrix), planner.maxKernels.limit);
int rt_kernels = (runTask.test_type == TestType.Performance) ? tasksPackage.kernels :
Math.min(Utils.getMatrixProcessors(runTask.matrix), tasksPackage.kernels);
runLines.addAll(runTask.pack(rt_kernels));
}
}
@@ -136,7 +136,7 @@ public class TestsSupervisor_2022 {
Utils.DQuotes(planner.getPlanner()),
Utils.DQuotes(tasksPackage.user_workspace),
Utils.DQuotes(packageRemoteWorkspace.full_name),
Utils.DQuotes(planner.maxKernels.limit),
Utils.DQuotes(tasksPackage.kernels),
Utils.DQuotes(tasksPackage.dvm_drv),
"&"
);