summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added Python 3 bindings for TIDL APIAjay Jayaraj2018-09-261-0/+3
| | | | | | | | | | | | | | | | | | | | * Using pybind11 v2.2 to add Python 3 bindings to TIDL API classes/methods https://pybind11.readthedocs.io/en/stable/index.html https://github.com/pybind/pybind11/tree/v2.2 * Leveraging the Python buffer protocol to expose input/output buffers from ExecutionObject/ExecutionObjectPipeline to Python application code. This eliminates copies between the Python application and the TIDL API library. (see examples/pybind/one_eo_per_frame.py). * Methods renamed to follow Python style guide (PEP8) * Bindings split across multiple pybind_* source files to reduce compile time * tidl_api/Makefile builds a shared object - tidl.so. Add this so to PYTHONPATH to make the tidl module available to the Python interpreter. >>> import tidl >>> help (tidl) * See examples/pybind for examples of using the Python bindings (MCT-1009)
* Emit a warning when running on 2 EVEs instead of 4Ajay Jayaraj2018-07-051-0/+3
| | | | | | | | | | | | | | * By default, the OpenCL runtime is configured with sufficient memory to offload TIDL networks to 2 devices. On devices with 4 EVEs (e.g. AM5729), the amount of memory available to the runtime must be increased. Refer the User's Guide, section "Insufficient OpenCL global memory" for details * Documentation - Add a section on the "test" example - Include a note on the need to increase the default OpenCL global memory for 4 devices. (MCT-1008)
* Documentation and top-level makefile updatesAjay Jayaraj2018-06-281-3/+16
| | | | (MCT-1008)
* Renamed compute engine to EVEAjay Jayaraj2018-06-261-1/+6
| | | | (MCT-1005)
* Update examples Makefile to use /usr/share/ti/tidlAjay Jayaraj2018-06-251-0/+55
Update Makefile(s) in the examples directory to use tidl-api headers and libraries from /usr/share/ti/tidl/tidl_api. (MCT-1005)