Main Content

Code Optimization for HVX

R2026b
Generate optimized code for Hexagon Vector eXtension using code replacement

Generate optimized code for digital signal processing from blocks, System objects, and math operators using code replacement.

Qualcomm® Hexagon® processors require specific conditions to allow code replacement with the Hexagon Vector eXtension (HVX) for vector processors. You use this code replacement when generating C/C++ code from a model.

Blocks

HVX Conv2D block with two input ports and one output portHVX Conv2D2-D convolution for HVX (Since R2026a)
HVX dilate block with an input port and output portHVX Dilate2-D grayscale dilation for HVX (Since R2026a)
HVX erode block with an input port and output portHVX Erode2-D grayscale erosion for HVX (Since R2026a)
HVX FFT2 block with an input and output.HVX FFT22-D fast Fourier transform using HVX (Since R2026b)
HVX IFFT2 block with an input and output.HVX IFFT22-D inverse fast Fourier transform using HVX (Since R2026b)

Objects

hexagon.hvx.FFT22-D fast Fourier transform using HVX (Since R2026b)
hexagon.hvx.IFFT22-D inverse fast Fourier transform using HVX (Since R2026b)

Functions

hexagon.hvx.conv2d2-D convolution for HVX (Since R2026a)
hexagon.hvx.dilate3x32-D grayscale dilation with a 3-by-3 square structuring element for HVX (Since R2026a)
hexagon.hvx.dilate5x52-D grayscale dilation with a 5-by-5 square structuring element for HVX (Since R2026a)
hexagon.hvx.dilate7x72-D grayscale dilation with a 7-by-7 square structuring element for HVX (Since R2026a)
hexagon.hvx.erode3x32-D grayscale erosion with a 3-by-3 square structuring element for HVX (Since R2026a)
hexagon.hvx.erode5x52-D grayscale erosion with a 5-by-5 square structuring element for HVX (Since R2026a)
hexagon.hvx.erode7x72-D grayscale erosion with a 7-by-7 square structuring element for HVX (Since R2026a)

Topics

Featured Examples