Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanLiu2Intel committed Aug 7, 2024
1 parent 0747582 commit 14c0f0f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/plugins/intel_npu/src/plugin/include/plugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "openvino/runtime/so_ptr.hpp"

namespace intel_npu {
extern bool flag_Dryon;
extern bool flag_Dryon;
class Plugin : public ov::IPlugin {
public:
Plugin();
Expand Down
8 changes: 5 additions & 3 deletions src/plugins/intel_npu/tools/compile_tool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
#

set(TARGET_NAME compile_tool)

target_link_libraries(${NPU_PLUGIN_TARGET})
message("==========1============")
# find_package(openvino::npu_al) #感觉这部分不需要使用
message("==========2============")

if (NOT DEFINED PROJECT_NAME)
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
Expand All @@ -26,7 +27,8 @@ ov_add_target(ADD_CPPLINT
PRIVATE
openvino::runtime
gflags
Threads::Threads)
Threads::Threads
openvino::npu_al)

set_target_properties(${TARGET_NAME} PROPERTIES
FOLDER ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down
8 changes: 4 additions & 4 deletions src/plugins/intel_npu/tools/compile_tool/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "tools_helpers.hpp"

#include "src/plugins/intel_npu/src/plugin/include/plugin.hpp"
#include "al/include/update_flage.hpp"

static constexpr char help_message[] = "Optional. Print the usage message.";

Expand Down Expand Up @@ -47,12 +47,12 @@ static constexpr char outputs_precision_message[] =

static constexpr char iop_message[] =
"Optional. Specifies precision for input and output layers by name.\n"
" Example: -iop \"input:FP16, output:FP16\".\n"
" Example: -iop \"input:FP16, output:FP16\".\n"
" Notice that quotes are required.\n"
" Overwrites precision from ip and op options for specified "
"layers.";

static constexpr char inputs_layout_message[] = "Optional. Specifies layout for all input layers of the network.";
static constexpr char inputs_l ayout_message[] = "Optional. Specifies layout for all input layers of the network.";

static constexpr char outputs_layout_message[] = "Optional. Specifies layout for all output layers of the network.";

Expand Down Expand Up @@ -420,7 +420,7 @@ static bool parseCommandLine(int* argc, char*** argv) {
}

if (!FLAGS_dryon.empty()) {
bool flag_Dryon = true;
intel_npu::update_fflag(true);
}

if (1 < *argc) {
Expand Down

0 comments on commit 14c0f0f

Please sign in to comment.