Kernel name: CosV for AIE-ML - 2025.2 English

Vitis Libraries

Release Date
2026-02-09
Version
2025.2 English

Element-Wise cosine values of a vector. Elements must be expressed in radians with the range [0…2k$pi$]

  • Template params:
    • T: type of the operation;
    • T_LEN: number of elements to be processed in the kernel per iteration;
    • T_INCREMENT: parameter which 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: elements of the vector to be passed to the kernel.
    • output_vector: elements of the result of the operation (vector) to be passed from the kernel.