• 04/03/2020
  • Public Content
Contents

Customizing Behavior of the Advanced Tiling Kernels

In addition to the function callbacks passed into
vxAddAdvancedTilingKernelIntel
upon kernel registration, there are also a number of kernel attributes that can be set with
vxSetKernelAttribute
.
NOTE:All the attributes described in this section must be set before call to the
vxFinalizeKernel
.
For example, the family of the attributes, defined by
vx_node_attribute_tiling_intel_e
enumeration:
  • VX_KERNEL_SERIAL_TYPE_INTEL
    which is used to indicate that individual output tiles of this kernel must be produced “in order”.
    The specific order is defined by providing a parameter of type
    vx_serial_type_intel_e
    :
    vx_serial_type_intel_e v = <specific order, below>; vxSetKernelAttribute(k,VX_KERNEL_SERIAL_TYPE_INTEL,&v,sizeof(v));
    Possible flavors of execution order are following:
  • VX_SERIAL_LEFT_TO_RIGHT_TOP_TO_BOTTOM_INTEL
    For a given output tile to be produced, the tile to the “left” in the X direction must be completed first. If the given output tile’s x coordinate is 0, the “right” most tile on the previous row of tiles must be completed. The tile with x,y coordinates (0,0) is the only output tile without dependency.
  • VX_SERIAL_LEFTTOP_TO_RIGHTBOTTOM_INTEL
    For a given output tile to be produced, the tile to the “left” in the X direction must be completed, the tile “above” in the Y direction must be completed, and the “upper left” tile must be completed. If the given output tile’s x coordinate is 0, the tile is only dependent on the “above” tile. If the given output tile’s y coordinate is 0, the tile is only dependent on the “left” tile. The tile with x,y coordinates (0,0) is the only output tile without dependency.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804