Kernel name: lessOrEqualThanS - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English

Check whether the element of an array are less or equal to a specific number. An array of 0s or 1s is returned. 1 means that the element at that specific position is less or equal to the scalar, otherwise 0 is returned.

  • Template params:
    • T: type of the operation;
    • LEN: number of elements to be processed in the kernel per iteration;
    • INCREMENT: parameter which 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;
    • SCALAR: scalar to which the elements of the array are compared to;
  • Function params:
    • in1: elements of the vector to be passed to the kernel.
    • out: elements of the result of the operation (vector) to be passed from the kernel.