diff --git a/cmake/utils/CRTConfig.cmake b/cmake/utils/CRTConfig.cmake index 8690be9fafb7..42c523b08786 100644 --- a/cmake/utils/CRTConfig.cmake +++ b/cmake/utils/CRTConfig.cmake @@ -25,9 +25,6 @@ function(generate_crt_config platform output_path) set(TVM_CRT_MAX_STRLEN_DLTYPE 10) set(TVM_CRT_MAX_STRLEN_FUNCTION_NAME 120) set(TVM_CRT_MAX_STRLEN_PARAM_NAME 80) - set(TVM_CRT_MAX_FUNCTION_NAME_LENGTH_BYTES 30) - set(TVM_CRT_PAGE_BITS 10) - set(TVM_CRT_MAX_PAGES 300) if("${platform}" STREQUAL "zephyr") set(TVM_CRT_MAX_PACKET_SIZE_BYTES 512) diff --git a/src/runtime/crt/crt_config.h.template b/src/runtime/crt/crt_config.h.template index d128396467d0..1d32253282e8 100644 --- a/src/runtime/crt/crt_config.h.template +++ b/src/runtime/crt/crt_config.h.template @@ -54,16 +54,7 @@ /*! Maximum supported string length in parameter names */ #define TVM_CRT_MAX_STRLEN_PARAM_NAME ${TVM_CRT_MAX_STRLEN_PARAM_NAME} -/*! Maximum length of a PackedFunc function name. */ -#define TVM_CRT_MAX_FUNCTION_NAME_LENGTH_BYTES ${TVM_CRT_MAX_FUNCTION_NAME_LENGTH_BYTES} - /*! Enable checks to enforce the stack allocator with a FIFO ordering. Off by default */ // #define TVM_CRT_STACK_ALLOCATOR_ENABLE_FIFO_CHECK -/*! Log2 of the page size (bytes) for a virtual memory page. */ -#define TVM_CRT_PAGE_BITS ${TVM_CRT_PAGE_BITS} - -/*! Number of pages on device. */ -#define TVM_CRT_MAX_PAGES ${TVM_CRT_MAX_PAGES} - #endif // TVM_RUNTIME_CRT_CRT_CONFIG_H_