Skip to content

Commit

Permalink
native: use default split sizes for stencil
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcdonell committed May 22, 2018
1 parent a2d9d57 commit f169ae0
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -638,9 +638,9 @@ stencilCore NativeR{..} gamma aenv bnd sh = do

splits = numWorkers workers
minsize = case rank sh of
1 -> 2048
2 -> 32
_ -> 8
1 -> 4096
2 -> 64
_ -> 16

ins = divideWork splits minsize bnd (sh `sub` bnd) (,,)
outs = asum . flip fmap (stencilBorders sh bnd) $ \(u,v) -> divideWork splits minsize u v (,,)
Expand Down

0 comments on commit f169ae0

Please sign in to comment.