elsegpuQuad.setTasks(// copy tp_tasks to the GPU memory
tp_tasks[0],// TpTask [] tile_tasks,
tp_tasks[0],// TpTask [] tile_tasks,
false,// use_aux); // boolean use_aux)
false,// use_aux); // boolean use_aux)
imgdtt_params.gpu_verify);// boolean verify
imgdtt_params.gpu_verify);// boolean verify
...
@@ -1376,7 +1411,7 @@ public class ImageDtt extends ImageDttCPU {
...
@@ -1376,7 +1411,7 @@ public class ImageDtt extends ImageDttCPU {
// Why always NON-UNIFORM grid? Already set in tp_tasks
// Why always NON-UNIFORM grid? Already set in tp_tasks
gpuQuad.execSetTilesOffsets(false);// false); // prepare tiles offsets in GPU memory, using NON-UNIFORM grid (pre-calculated)
gpuQuad.execSetTilesOffsets(false);// false); // prepare tiles offsets in GPU memory, using NON-UNIFORM grid (pre-calculated)
// update tp_tasks
// update tp_tasks
gpuQuad.updateTasks(
if(!resident_tasks)gpuQuad.updateTasks(
tp_tasks[0],
tp_tasks[0],
false);// boolean use_aux // while is it in class member? - just to be able to free
false);// boolean use_aux // while is it in class member? - just to be able to free
...
@@ -1384,14 +1419,15 @@ public class ImageDtt extends ImageDttCPU {
...
@@ -1384,14 +1419,15 @@ public class ImageDtt extends ImageDttCPU {
gpuQuad.execConvertDirect(false,null,erase_clt_first);// Convert primary image (erase per erase_clt_first; each task tile is SET as scales > 0) // By Claude on 07/05/2026
gpuQuad.execConvertDirect(false,null,erase_clt_first);// Convert primary image (erase per erase_clt_first; each task tile is SET as scales > 0) // By Claude on 07/05/2026
// set secondary tasks and perform direct conversion to TD, subtracting from the converted primary
// set secondary tasks and perform direct conversion to TD, subtracting from the converted primary
gpuQuad.setTasks(// copy tp_tasks to the GPU memory