Kernel name: sumVS - 2024.1 English

Vitis Libraries

Release Date
2024-08-06
Version
2024.1 English

Element-Wise addition between the values of a vector and a scalar. For every iteration (expressed by LEN) we need to pass four times the scalar value to the stream of the scalar value.

  • Template params:
    • T: type of the operation;
    • LEN: number of elements to be processed in the kernel per iteration;
    • INCREMENT: parameter that indicates how much iterations have been performed by the SIMD with respect to the intended total length;
    • VECDIM: dimension of the SIMD to be performed. Addressed in the Xilinx UG1076, it depends on the type chosen;
  • Function params:
    • in1: elements of the array to be passed to the kernel.
    • in2: scalar element to be passed to the kernel.
    • out: elements of the result of the operation (vector) to be passed from the kernel.