This PR adds vector math operations for the cos and sin math functions. In addition, it expands the DFT example with the Vector API and applies a fix for the vector computation of the DFT.
Problem description
Fixes for the DFT application.
Backend/s tested
Mark the backends affected by this PR.
[X] OpenCL
[ ] PTX
[ ] SPIRV
OS tested
Mark the OS where this PR is tested.
[X] Linux
[ ] OSx
[ ] Windows
Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.
[ ] Yes
[X] No
How to test the new patch?
$ make
$ make tests
$ tornado --printKernel --enableProfiler console -m tornado.examples/uk.ac.manchester.tornado.examples.vectors.DFTVector vector8
Description
This PR adds vector math operations for the
cos
andsin
math functions. In addition, it expands the DFT example with the Vector API and applies a fix for the vector computation of the DFT.Problem description
Fixes for the DFT application.
Backend/s tested
Mark the backends affected by this PR.
OS tested
Mark the OS where this PR is tested.
Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.
How to test the new patch?