Hi Christian!
Can you provide a bit more information about what you are trying to do, or link to some code? gist.github.com is good for posting snippets.
How large are the windows you are interested in?
In stencil
, the shape of the window is just set by the dimensionality of the input array. Note that you are not required to use all of the elements within the stencil region; it just specifies the local neighbourhood you have access to. (I’m not sure if that is what you meant by the shape of the window?)
Maybe you can write a small scalar loop using while
to do what you want at each point of interest? (Mind you I’m not sure if that is a good approach in the context of your actual application, since I don’t have any details there and am just guessing…)
All the best,
-Trev
--
You received this message because you are subscribed to the Google Groups "Accelerate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelerate-hask...@googlegroups.com.
Visit this group at https://groups.google.com/group/accelerate-haskell.
For more options, visit https://groups.google.com/d/optout.