умолчания

This commit is contained in:
2023-12-09 21:37:36 +03:00
parent b76ac2a0b2
commit dbd8d416f9

View File

@@ -330,9 +330,9 @@ public class ExportTasksPackageToExcel extends Pass_2021<Vector<TasksPackage>> {
if (NUM_THREADS != null && NUM_THREADS == 0) NUM_THREADS = 1;
Integer NUM_CUDAS = extractIntegerEnvironmentValue(task.environments, "DVMH_NUM_CUDAS");
//--
Object num_threads = (NUM_THREADS != null) ? NUM_THREADS : Constants.Nan;
Object num_cudas = (NUM_CUDAS != null) ? NUM_CUDAS : Constants.Nan;
Object total_threads = (NUM_THREADS != null) ? NUM_THREADS * Utils.getMatrixProcessors(task.matrix) : Constants.Nan;
int num_threads = (NUM_THREADS != null) ? NUM_THREADS : 1;
int num_cudas = (NUM_CUDAS != null) ? NUM_CUDAS :0;
int total_threads = num_threads * Utils.getMatrixProcessors(task.matrix);
//--
addTaskRow(offset.getValue(),
task.group_description, //0