open cl input variables

   1224   1   1
User Avatar
Member
897 posts
Joined: July 2018
Offline
I thought I'll start learning the OpenCL nodes and I'm looking at the ones in H16 tools as a ref. In the volume ones there's incoming variables like “stride_x” that is bound not from the user but by some hidden process. Is there a documentation of this step? Or any code I can look at in the install directory that explains what happens?

Just trying to understand what's going on to be able to work with them more freely.

Thx!
B.Henriksson, DICE
User Avatar
Staff
6205 posts
Joined: July 2005
Offline
In volume mode, the thing iterated over is the first writeable volume.

Your first writeable volume binding should have “Force Alignment” off. This will have it bind the stridex/stridey/stridez so you can index it. Usually the other volumes you refer to have to be aligned, so you can leave that on and just index them directly. If misaligned volumes are given, the node will error.
  • Quick Links