1. 07 Apr, 2020 1 commit
    • [uTVM][Runtime] Introduce Virtual Memory Allocator to CRT (#5124) · e11a6092
      * initial crt_memory and memory leak fix in graph_runtime
      
      Change-Id: I0f79f909a04d1c677aabb80f202f0612c5ce7f2a
      
      * fix memory leak
      
      Change-Id: I37104c09e28112b1974fa2b064c809d0a8d686c3
      
      * clean up
      
      Change-Id: I039b12015a1d56c8f4120867cd5a5292da34f3e3
      
      * implement vrealloc
      
      Change-Id: I35800470bcbfcf96652494f359711cb4c2d34398
      
      * allocate from stack memory for most of the variables
      
      Change-Id: I72071289843fff4031c0df8796868a0b9fbc57ee
      
      * allocate from stack memory for all of the variables
      
      Change-Id: I32dba85ac1660c77f51c2d0d8ab6436ed0c01c74
      
      * lint
      
      Change-Id: If12cd240685d7791fc60bc0cfb66389cdc186b73
      
      * lint
      
      Change-Id: I7c9d90c11b60b8edda2427ebd189ebe535af2100
      
      * facilitate the growth of TVM_CRT_MAX_NDIM
      
      Change-Id: I939fa43027a5c7529c5c7c6bd8d6e6beb91b7581
      
      * extend test coverage of vmalloc
      
      Change-Id: Ie4ff6b64fdfe6810836cf8fd44dace82a20c4581
      
      * lint
      
      Change-Id: Ibf3c06619ef296df5c49f3945cb6428777781d69
      
      * move logging.h to src
      
      * fix an error in macOS
      
      * remove logging.h
      
      * use cflags for gcc
      
      * fix compilation error
      Liangfu Chen committed
  2. 09 Mar, 2020 1 commit
    • [Runtime] MISRA-C compliant TVM runtime (#3934) · 450f7163
      * implement of MISRA-C compliant TVM runtime;
      
      * working on bundle_deploy_c demo
      
      * move header files into include dir
      
      * fix compatibility issues
      
      * fix compatibility issues
      
      * resolve most of the warnings and errros
      
      * implement c_backend_api
      
      * introduce bridge
      
      * working well
      
      * move to header files and bundle.c into src/runtime/crt
      
      * clean up
      
      * satisfy linter
      
      * clean up
      
      * test with the cat image
      
      * remove synset
      
      * refactoring
      
      * refactoring
      
      * refactoring
      
      * initial crt_runtime_api.c
      
      * improved compatibility with g++
      
      * using exposed API in c_runtime_api.h
      
      * call from c_runtime_api.h
      
      * clean up
      
      * lint
      
      * merge into apps/bundle_deploy directory
      
      Change-Id: I51904db81b8589e65d107d8ca77b47452e3812b5
      
      * make the demo runs in ci
      
      Change-Id: I2c24f8b592508833d3555311c2b24d1931f19385
      
      * address review comments
      
      Change-Id: I027ddff15c31fb4da0bd0e461427dce619de1f93
      
      * release
      
      Change-Id: I5ad5bb8426468aac9fc8d074e56ddea358a7fd91
      
      * fix ci testing
      
      Change-Id: Ic2e82fb3051b6c254ef32a964f976b61e3e5fe4d
      
      * add test case for misra c runtime
      
      Change-Id: Ie0dfd0ade6be4665b4384db7d260a6c69b35010f
      
      * fread files in testing to avoid calling xxd
      
      Change-Id: Ie7fbc16b4b0b9509918d986a841f443900813bef
      Liangfu Chen committed