Raistmer

What more effective: stream domain or kernel domain?

Discussion created by Raistmer on Jun 6, 2009
Latest reply on Jun 7, 2009 by Raistmer
(and other part of stream processing questions)

I need to process only part of data array in kernel call.
It seems there are two possibilities to accomplish that.
1) by creating substream from big stream by using Stream::Domain() call
2) by using original big stream in kernel call but with setting domain of execution for kernel via domainOffset() domainSize() calls to kernel interface.
Is it true that both methods can be used for this purpose (processing only part of big data array per kernel call) and what method will be faster if yes?
 P.S. What a mail of webmaster of these boards? - this emotion parsing thing can make people crazy >-:|
 

ADDON (some refinement):
I need to change only size of processed arrays. Processing always starts from zero offset so always only region in beginning of array computed. Only size of region will differ.

Outcomes