Skip to content

Commit

Permalink
rm convertToSSA API,test=huawei_ascend_npu test=nvidia_tensorrt test=…
Browse files Browse the repository at this point in the history
…verisilicon_timvx (PaddlePaddle#8988)
  • Loading branch information
weishengying authored and WeiLi233 committed Jun 28, 2022
1 parent 70c3510 commit 7979084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ lite_option(LITE_WITH_XCODE "when debug in xcode, its ON."
lite_option(LITE_WITH_ARM82_FP16 "when compile with arm v8.2 fp16, it's ON." OFF)
lite_option(LITE_WITH_ARM82_INT8_SDOT "when compile with arm v8.2 int8, it's ON." OFF)
lite_option(LITE_WITH_CODE_META_INFO "include git version in the header file." ON)
# whether convert input model which is not a DAG to SSA graph
lite_option(WITH_CONVERT_TO_SSA "whether convert input model which is not a DAG to SSA graph" ON)

# Thirdparty
set(THIRD_PARTY_PATH "${CMAKE_BINARY_DIR}/third_party" CACHE STRING
Expand Down
7 changes: 4 additions & 3 deletions cmake/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ if (LITE_WITH_ARM82_FP16)
add_definitions("-DLITE_WITH_ARM82_FP16")
endif(LITE_WITH_ARM82_FP16)

if (WITH_CONVERT_TO_SSA STREQUAL ON)
add_definitions("-DWITH_CONVERT_TO_SSA")
endif(WITH_CONVERT_TO_SSA)
if (LITE_WITH_M1)
add_definitions("-DLITE_WITH_M1")
endif(LITE_WITH_M1)

0 comments on commit 7979084

Please sign in to comment.