Skip to content

Commit

Permalink
fix target name. update tag of neural_speed.
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Jan 17, 2024
1 parent af23b8e commit 8c583f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ endif()
if (onnxruntime_USE_NEURAL_SPEED AND NOT onnxruntime_MINIMAL_BUILD)
include(neural_speed)
if (USE_NEURAL_SPEED)
list(APPEND onnxruntime_EXTERNAL_LIBRARIES bestla::bestla)
list(APPEND onnxruntime_EXTERNAL_LIBRARIES neural_speed::bestla)
endif()
endif()

Expand Down
2 changes: 1 addition & 1 deletion cmake/external/neural_speed.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(NEURAL_SPEED_URL https://github.com/intel/neural-speed.git)
set(NEURAL_SPEED_TAG 7601eba5849138f8f246d6c7f5483b2efd8ea1f1) # kernel-only release v0.1
set(NEURAL_SPEED_TAG 44c05babb9bf01c8b26f8697526f380677cb6800) # kernel-only release v0.1

if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND onnxruntime_target_platform STREQUAL "x86_64")
set(USE_NEURAL_SPEED TRUE)
Expand Down
2 changes: 1 addition & 1 deletion cmake/onnxruntime_providers_cpu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ endif()

if(NOT onnxruntime_DISABLE_CONTRIB_OPS)
if(USE_NEURAL_SPEED)
onnxruntime_add_include_to_target(onnxruntime_providers bestla::bestla)
onnxruntime_add_include_to_target(onnxruntime_providers neural_speed::bestla)
endif()
endif()

Expand Down

0 comments on commit 8c583f5

Please sign in to comment.