Jump to content

Compile block around a single node??


Recommended Posts

I was looking into the Compile Block wondering about the exact boundaries within which to use it.

I got the impression from the docs that the optimization is mostly between nodes. Not having multiple copies of the geo per node, multi threading for loops etc.

But while watching the H17.5 launch event I noticed (at around 32:43) a single polyreduce node in a compile block.

So... Are there just nodes we should always stuff into a compile block for speed..???

Link to comment
Share on other sites

Your thoughts about the performance characteristics are correct. I think in that launch example the TOP node expects a compiled block (very much like the existing Invoke SOP), which is why a single node would be wrapped up.

The other consideration is cases where the compile block can be executed in-place on the input geometry, such as when using the option on SOP solvers to invoke a compiled block - in that the compile block is executed in-place on the DOP geometry instead of copying it back and forth between DOPs and SOPs

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...