Commit 84cc5414 authored by Kenneth Moreland's avatar Kenneth Moreland

Merge branch 'change-default-max-image-split' into 'master'

Make default ICET_MAX_IMAGE_SPLIT higher

See merge request icet/icet!11
parents 8a68fbf2 c02a2818
......@@ -61,12 +61,12 @@ IF (NOT ${ICET_MAGIC_K} GREATER 1)
ENDIF (NOT ${ICET_MAGIC_K} GREATER 1)
# Option to set the preferred number of ways to break up an image.
SET(initial_max_image_split 512)
SET(initial_max_image_split 500000)
IF ("$ENV{ICET_MAX_IMAGE_SPLIT}" GREATER 0)
SET(initial_max_image_split $ENV{ICET_MAX_IMAGE_SPLIT})
ENDIF ("$ENV{ICET_MAX_IMAGE_SPLIT}" GREATER 0)
SET(ICET_MAX_IMAGE_SPLIT ${initial_max_image_split} CACHE STRING
"Sets the preferred number of times an image may be split. Some image compositing algorithms prefer to partition the images such that each process gets a piece. Too many partitions, though, and you end up spending more time collecting them than you save balancing the compositing."
"Sets the preferred number of times an image may be split. Most image compositing algorithms prefer to partition the images such that each process gets a piece. Too many partitions, though, and you could end up spending more time collecting them than you save balancing the compositing."
)
# Configure MPE support
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment