Kernel name: outer for AIE-ML - 2025.1 English

Vitis Libraries

Release Date
2025-06-04
Version
2025.1 English

Perform the outer product (also named cross-product or vector-product) between the two vectors. The result of this operation is a matrix, which rows are the number of the entry of the first vector and the column the number of the entry of the second one.

  • Template params:
    • T: type of the operation;
    • T_LEN: number of elements to be processed in the kernel per iteration;
    • T_INCREMENT: parameter that indicates how much iterations have been performed by the SIMD with respect to the intended total length;
    • T_SIMD_DEPTH: dimension of the SIMD to be performed. Addressed in the Xilinx UG1076, it depends on the type chosen;
  • Function params:
    • input_vector_1: elements of the first vector to be passed to the kernel.
    • input_vector_2: elements of the second vector to be passed to the kernel.
    • output_matrix: elements of the result of the operation (matrix) to be passed from the kernel.