mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 19:02:29 +02:00
[core] parallelization: introduce the notion of node 'size'
* node size is an estimation of the number of element to process on a given node, that may be used for parallelization. * replace the explicit reference to an attribute on a node (Parallelization.inputListParamName) * size can be: * dynamic: depends on the size of the node connected to a specific Attribute * static
This commit is contained in:
parent
877025090e
commit
e8c579c942
13 changed files with 56 additions and 18 deletions
|
@ -4,7 +4,8 @@ class DepthMap(desc.CommandLineNode):
|
|||
internalFolder = '{cache}/{nodeType}/{uid0}/'
|
||||
commandLine = 'aliceVision_depthMapEstimation {allParams}'
|
||||
gpu = desc.Level.INTENSIVE
|
||||
parallelization = desc.Parallelization(inputListParamName='viewpoints', blockSize=3)
|
||||
size = desc.DynamicNodeSize('ini')
|
||||
parallelization = desc.Parallelization(blockSize=3)
|
||||
commandLineRange = '--rangeStart {rangeStart} --rangeSize {rangeBlockSize}'
|
||||
|
||||
inputs = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue