メインコンテンツ

HVX のコードの最適化

R2026b
コード置換を使用して Hexagon Vector eXtension 用に最適化されたコードを生成する

コード置換を使用して、ブロック、System object、および数学演算子からデジタル信号処理用に最適化されたコードを生成します。

Qualcomm® Hexagon® プロセッサでは、ベクトル プロセッサ用の Hexagon Vector eXtension (HVX) によるコード置換を可能にするには特定の条件が必要です。このコード置換は、モデルから C/C++ コードを生成するときに使用します。

ブロック

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

オブジェクト

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

関数

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

トピック

注目の例