Adjust example heap sizes with new TIDL library - The latest TIDL library increased memory requirement slightly. Adjust heap sizes in the examples accordingly. - MCT-1217
Update TIDL network data structure - To be in sync with TIDL library and TIDL import utility - strideOffsetMethod field moved from sTIDL_Network_t to sTIDL_Layer_t - Add ReadNetworkBinary util that can read both network formats, so that TIDL-API can be compatible with both old and new formats - Update reference network output due to updated TIDL library - MCT-1136
Removed unused API functionality, added changelog (MCT-1062)
Refactor examples - test, one_eo_per_frame - Remove code duplication across test/main.cpp, test/multiple_executors.cpp and one_eo_per_frame/main.cpp - Moved common code into common/utils.h, common/utils.cpp (MCT-1047)
Report memory usage when device allocation fails TIDL API creates 2 device side heaps: 1. Parameter heap 2. Network heap The sizes of these heaps are specified in the Configuration object, via PARAM_HEAP_SIZE and NETWORK_HEAP_SIZE. Existing behavior: If the heaps are not large enough, allocation on the device triggers an assertion failure with no indication of how large the heaps need to be for successfull allocation. To improve the usability of the API, provide feedback to the user on the heap sizes required to satisfy device side allocations when any allocation fails. Also added `-Wall -Werror` when building examples and fixed failures. (MCT-1035)
Add support for accessing layer output data * Added API methods to enable tracing and dump layer output buffers to file 1. ExecutionObject::WriteLayerOutputsToFile 2. ExecutionObject::GetOutputsFromAllLayers 3. ExecutionObject::GetOutputFromLayer See examples/layer_output/main.cpp, ProcessTrace() for examples of using these tracing APIs. * Added a 'enableTrace' field to the configuration file. Set to true to enable tracing. * Update configuration file parser to allow comments, blank lines Note: Tracing requires ti-opencl, SHA-ID 188cc38627315d3041b80ee86e6ca33087348062 or newer. (MCT-1023)
Emit a warning when running on 2 EVEs instead of 4 * 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)
Renamed compute engine to EVE (MCT-1005)
license headers: updated year, added where missing (MCT-961)
Rename to TIDL * Replace references to TINN in the sources and directory structure with TIDL or TIDL API * Moved the TIDL network viewer (tidl_viewer) from utils to viewer (MCT-983)
Compute input/output size based on network - MCT-974
Use malloc for user application buffer allocation - MCT-972 (follow-up cleanup)
Renamed namespace (tidl -> tinn), updated documentation (MCT-964)
Add version information to Makefile, API * Added version information in tinn_api/Makefile * Added Executor::GetAPIVersion() (MCT-962)
Initial commit (MCT-958)