умолчания
This commit is contained in:
@@ -330,9 +330,9 @@ public class ExportTasksPackageToExcel extends Pass_2021<Vector<TasksPackage>> {
|
|||||||
if (NUM_THREADS != null && NUM_THREADS == 0) NUM_THREADS = 1;
|
if (NUM_THREADS != null && NUM_THREADS == 0) NUM_THREADS = 1;
|
||||||
Integer NUM_CUDAS = extractIntegerEnvironmentValue(task.environments, "DVMH_NUM_CUDAS");
|
Integer NUM_CUDAS = extractIntegerEnvironmentValue(task.environments, "DVMH_NUM_CUDAS");
|
||||||
//--
|
//--
|
||||||
Object num_threads = (NUM_THREADS != null) ? NUM_THREADS : Constants.Nan;
|
int num_threads = (NUM_THREADS != null) ? NUM_THREADS : 1;
|
||||||
Object num_cudas = (NUM_CUDAS != null) ? NUM_CUDAS : Constants.Nan;
|
int num_cudas = (NUM_CUDAS != null) ? NUM_CUDAS :0;
|
||||||
Object total_threads = (NUM_THREADS != null) ? NUM_THREADS * Utils.getMatrixProcessors(task.matrix) : Constants.Nan;
|
int total_threads = num_threads * Utils.getMatrixProcessors(task.matrix);
|
||||||
//--
|
//--
|
||||||
addTaskRow(offset.getValue(),
|
addTaskRow(offset.getValue(),
|
||||||
task.group_description, //0
|
task.group_description, //0
|
||||||
|
|||||||
Reference in New Issue
Block a user