File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,13 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
3131
3232#we do not want to pass -fno-exceptions
3333if (${CMAKE_CXX_FLAGS} MATCHES "-fno-exceptions" )
34+ message ( WARNING "Disabling -fno-exceptions" )
3435 string (REGEX REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
3536endif ()
3637
3738#we do not want to pass -fno-rtti
3839if (${CMAKE_CXX_FLAGS} MATCHES "-fno-rtti" )
40+ message ( WARNING "Disabling -fno-rtti" )
3941 string (REGEX REPLACE "-fno-rtti" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
4042endif ()
4143
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ class CLMLRunner {
227227 std::shared_ptr<cl_ml_tensor_memory_desc_qcom> unusedTensor;
228228
229229 /* ! \brief ML API interface */
230- GET_ML_API_INTERFACE* h_ClmlIntf = NULL ;
230+ GET_ML_API_INTERFACE* h_ClmlIntf = nullptr ;
231231 /* ! \brief Tuning cache object */
232232 cl_ml_tuningcache_qcom tuning_cache = NULL ;
233233 /* ! \brief Flag to inticate a tuning run */
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ int ExecuteModel(ToolArgs& args) {
173173
174174 // Init OpenCL Environment
175175 cl_int result;
176- cl_event readEvent = NULL ;
176+ cl_event readEvent = nullptr ;
177177 cl_platform_id platform = NULL ;
178178 cl_context context = NULL ;
179179 cl_device_id device_id = NULL ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if(USE_CLML_GRAPH_EXECUTOR)
5454 include_directories (${CLML_INCLUDE_DIRS} )
5555 find_library (EXTERN_CLML_COMPUTE_LIB
5656 NAMES OpenCL libOpenCL
57- HINTS "${CLML_PATH} " "${CLML_PATH} /lib " "${CLML_PATH} /lib64 "
57+ HINTS "${CLML_PATH} " "${CLML_PATH} /lib64 " "${CLML_PATH} /lib "
5858 )
5959 list (APPEND TVM_RUNTIME_LINKER_LIBS ${EXTERN_CLML_COMPUTE_LIB} )
6060 list (APPEND RUNTIME_SRCS ${CLML_CONTRIB_SRC} )
You can’t perform that action at this time.
0 commit comments