Commit 5a9de4d5 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Automatic si strategy now calls radix-k instead of binary swap.

parent 327571b4
......@@ -20,27 +20,23 @@ void icetAutomaticCompose(const IceTInt *compose_group,
IceTSparseImage *result_image,
IceTSizeType *piece_offset)
{
if (group_size >= 8) {
icetRaiseDebug("Doing bswap compose");
icetInvokeSingleImageStrategy(ICET_SINGLE_IMAGE_STRATEGY_BSWAP,
compose_group,
group_size,
image_dest,
input_image,
result_image,
piece_offset);
} else if (group_size > 0) {
icetRaiseDebug("Doing tree compose");
icetInvokeSingleImageStrategy(ICET_SINGLE_IMAGE_STRATEGY_TREE,
if (group_size > 1) {
icetRaiseDebug("Doing radix-k compose");
icetInvokeSingleImageStrategy(ICET_SINGLE_IMAGE_STRATEGY_RADIXK,
compose_group,
group_size,
image_dest,
input_image,
result_image,
piece_offset);
} else if (group_size == 1) {
icetRaiseDebug("Shallow copy input.");
*result_image = input_image;
*piece_offset = 0;
} else {
icetRaiseDebug("Clearing pixels");
icetClearSparseImage(input_image);
*result_image = input_image;
*piece_offset = 0;
}
}
Supports Markdown
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